Package com.uc4.api
Class FolderListItem
java.lang.Object
com.uc4.api.FolderListItem
- All Implemented Interfaces:
ITransportable
This class represents one object in a folder.
-
Constructor Summary
ConstructorsConstructorDescriptionFolderListItem
(ConnectionAttributes session, Element row, String folderID) Constructs aFolderListItem
from the specified element. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the first archive key of this object.Returns the seconds archive key of this object.Returns the date of the last modification.Returns the Folder ID.getId()
Returns the ID of this object.getName()
Returns the name of this object.Returns the language independent type of the Object.Returns the name of the Automation Engine user who has opened the object.Returns the platform of the object or an empty String if a platform is not defined for the object.Returns the subtype of the object if available.getTitle()
Returns the title of this Automation Engine Object.getType()
Returns the type of this Automation Engine Object.int
Returns the Version of this Automation Engine object.int
hashCode()
boolean
isLink()
Returns whether the object is a link.boolean
isOpen()
Returnstrue
if the object is open and therefore locked for changes.toString()
-
Constructor Details
-
FolderListItem
Constructs aFolderListItem
from the specified element. Internal use only.- Parameters:
session
- Session time zonerow
- Element representing a row in the folder listfolderID
- ID of the folder
-
-
Method Details
-
isLink
public boolean isLink()Returns whether the object is a link.- Returns:
- True if the object is only a link
-
getSubType
Returns the subtype of the object if available.- Returns:
- Sub type of Events, Variables or an empty String, never null
-
getPlatform
Returns the platform of the object or an empty String if a platform is not defined for the object.- Returns:
- Platform or an empty String
-
getDateModified
Returns the date of the last modification.- Returns:
- Last modification date
-
getArchive1
Returns the first archive key of this object.- Returns:
- Archive Key 1
-
getObjectType
Returns the language independent type of the Object.- Specified by:
getObjectType
in interfaceITransportable
- Returns:
- Type of the object
-
getArchive2
Returns the seconds archive key of this object.- Returns:
- Archive Key 2
-
getId
Returns the ID of this object.- Specified by:
getId
in interfaceITransportable
- Returns:
- ID
-
getName
Returns the name of this object.- Specified by:
getName
in interfaceITransportable
- Returns:
- Name
-
isOpen
public boolean isOpen()Returnstrue
if the object is open and therefore locked for changes. The methodgetOpenedBy
returns the name of the Automation Engine user.- Returns:
- True if this object is open
-
getOpenedBy
Returns the name of the Automation Engine user who has opened the object.- Returns:
- Name of the Automation Engine User who opened the object
-
getTitle
Returns the title of this Automation Engine Object.- Returns:
- Title
-
getType
Returns the type of this Automation Engine Object.- Returns:
- Type
-
getVersion
public int getVersion()Returns the Version of this Automation Engine object.- Returns:
- Integer containing the version
-
equals
-
hashCode
public int hashCode() -
toString
-
getFolderID
Returns the Folder ID.- Specified by:
getFolderID
in interfaceITransportable
- Returns:
- FolderID
-