Package com.uc4.api
Class VersionControlListItem
- java.lang.Object
-
- com.uc4.api.VersionControlListItem
-
public class VersionControlListItem extends java.lang.ObjectThis class represents a saved version of an Automation Engine object.
-
-
Constructor Summary
Constructors Constructor Description VersionControlListItem(com.uc4.util.XMLDocument doc, org.w3c.dom.Element row, ConnectionAttributes session)Internal use, creates a new instance of this class from the specified XML element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetId()UC4UserNamegetModifiedBy()Returns the name of the UC4 user which has modified the object.DateTimegetModifiedDate()java.lang.StringgetObjectType()UC4ObjectNamegetSavedName()Returns the generated name of the revision.java.lang.StringgetTitle()intgetVersionNumber()java.lang.StringtoString()
-
-
-
Constructor Detail
-
VersionControlListItem
public VersionControlListItem(com.uc4.util.XMLDocument doc, org.w3c.dom.Element row, ConnectionAttributes session)Internal use, creates a new instance of this class from the specified XML element.- Parameters:
doc- XML Documentrow- Elementsession- Session info
-
-
Method Detail
-
getSavedName
public UC4ObjectName getSavedName()
Returns the generated name of the revision.- Returns:
- Name of the saved instance
-
getModifiedBy
public UC4UserName getModifiedBy()
Returns the name of the UC4 user which has modified the object.- Returns:
- UC4 User and department
-
getModifiedDate
public DateTime getModifiedDate()
- Returns:
- Modification timestamp
-
getId
public java.lang.String getId()
- Returns:
- Unique ID
-
getObjectType
public java.lang.String getObjectType()
- Returns:
- Object type, for example JOBS
-
getTitle
public java.lang.String getTitle()
- Returns:
- Title of the Object
-
getVersionNumber
public int getVersionNumber()
- Returns:
- Version number
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-