Package com.uc4.api
Class FolderListItem
- java.lang.Object
-
- com.uc4.api.FolderListItem
-
- All Implemented Interfaces:
ITransportable
public final class FolderListItem extends java.lang.Object implements ITransportable
This class represents one object in a folder.
-
-
Constructor Summary
Constructors Constructor Description FolderListItem(ConnectionAttributes session, org.w3c.dom.Element row, java.lang.String folderID)Constructs aFolderListItemfrom the specified element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetArchive1()Returns the first archive key of this object.java.lang.StringgetArchive2()Returns the seconds archive key of this object.DateTimegetDateModified()Returns the date of the last modification.java.lang.StringgetFolderID()Returns the Folder ID.java.lang.StringgetId()Returns the ID of this object.java.lang.StringgetName()Returns the name of this object.java.lang.StringgetObjectType()Returns the language independent type of the Object.java.lang.StringgetOpenedBy()Returns the name of the Automation Engine user who has opened the object.java.lang.StringgetPlatform()Returns the platform of the object or an empty String if a platform is not defined for the object.java.lang.StringgetSubType()Returns the subtype of the object if available.java.lang.StringgetTitle()Returns the title of this Automation Engine Object.java.lang.StringgetType()Returns the type of this Automation Engine Object.intgetVersion()Returns the Version of this Automation Engine object.inthashCode()booleanisLink()Returns whether the object is a link.booleanisOpen()Returnstrueif the object is open and therefore locked for changes.java.lang.StringtoString()
-
-
-
Constructor Detail
-
FolderListItem
public FolderListItem(ConnectionAttributes session, org.w3c.dom.Element row, java.lang.String folderID)
Constructs aFolderListItemfrom the specified element. Internal use only.- Parameters:
session- Session time zonerow- Element representing a row in the folder listfolderID- ID of the folder
-
-
Method Detail
-
isLink
public boolean isLink()
Returns whether the object is a link.- Returns:
- True if the object is only a link
-
getSubType
public java.lang.String getSubType()
Returns the subtype of the object if available.- Returns:
- Sub type of Events, Variables or an empty String, never null
-
getPlatform
public java.lang.String 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
public DateTime getDateModified()
Returns the date of the last modification.- Returns:
- Last modification date
-
getArchive1
public java.lang.String getArchive1()
Returns the first archive key of this object.- Returns:
- Archive Key 1
-
getObjectType
public java.lang.String getObjectType()
Returns the language independent type of the Object.- Specified by:
getObjectTypein interfaceITransportable- Returns:
- Type of the object
-
getArchive2
public java.lang.String getArchive2()
Returns the seconds archive key of this object.- Returns:
- Archive Key 2
-
getId
public java.lang.String getId()
Returns the ID of this object.- Specified by:
getIdin interfaceITransportable- Returns:
- ID
-
getName
public java.lang.String getName()
Returns the name of this object.- Specified by:
getNamein interfaceITransportable- Returns:
- Name
-
isOpen
public boolean isOpen()
Returnstrueif the object is open and therefore locked for changes. The methodgetOpenedByreturns the name of the Automation Engine user.- Returns:
- True if this object is open
-
getOpenedBy
public java.lang.String 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
public java.lang.String getTitle()
Returns the title of this Automation Engine Object.- Returns:
- Title
-
getType
public java.lang.String 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
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getFolderID
public java.lang.String getFolderID()
Returns the Folder ID.- Specified by:
getFolderIDin interfaceITransportable- Returns:
- FolderID
-
-