Class ElementVersions
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementVersions
-
- All Implemented Interfaces:
Serializable
public class ElementVersions extends Object implements Serializable
ElementVersions provides the version information for the element plus details of the creation time and last update time. Finally it lists all the users that have made changes to this element.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ElementVersions()Default constructor used by subclassesElementVersions(ElementVersions template)Copy/clone constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetCreatedBy()Return the name of the user that created this instance.DategetCreateTime()Return the date/time that this instance was created.List<String>getMaintainedBy()Return the list of users responsible for maintaining this instance.StringgetUpdatedBy()Return the name of the user that last updated this instance.DategetUpdateTime()Return what was the late time this instance was updated.longgetVersion()Return the version number for this instance.inthashCode()Create a hash code for this element type.voidsetCreatedBy(String createdBy)Set up the name of the user that created this instance.voidsetCreateTime(Date createTime)Set up the time that this instance was created.voidsetMaintainedBy(List<String> maintainedBy)Set up the list of users responsible for maintaining this instance.voidsetUpdatedBy(String updatedBy)Set up the name of the user that last updated this instance.voidsetUpdateTime(Date updateTime)Set up the last update time for this instance.voidsetVersion(long version)Set up the version number for this instance.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
ElementVersions
public ElementVersions()
Default constructor used by subclasses
-
ElementVersions
public ElementVersions(ElementVersions template)
Copy/clone constructor.- Parameters:
template- element to copy
-
-
Method Detail
-
getCreatedBy
public String getCreatedBy()
Return the name of the user that created this instance.- Returns:
- String user name
-
setCreatedBy
public void setCreatedBy(String createdBy)
Set up the name of the user that created this instance.- Parameters:
createdBy- String user name
-
getUpdatedBy
public String getUpdatedBy()
Return the name of the user that last updated this instance.- Returns:
- String user name
-
setUpdatedBy
public void setUpdatedBy(String updatedBy)
Set up the name of the user that last updated this instance.- Parameters:
updatedBy- String user name
-
getMaintainedBy
public List<String> getMaintainedBy()
Return the list of users responsible for maintaining this instance.- Returns:
- list of user identifiers
-
setMaintainedBy
public void setMaintainedBy(List<String> maintainedBy)
Set up the list of users responsible for maintaining this instance.- Parameters:
maintainedBy- list of user identifiers
-
getCreateTime
public Date getCreateTime()
Return the date/time that this instance was created.- Returns:
- Date/Time of creation
-
setCreateTime
public void setCreateTime(Date createTime)
Set up the time that this instance was created.- Parameters:
createTime- Date/Time of creation
-
getUpdateTime
public Date getUpdateTime()
Return what was the late time this instance was updated.- Returns:
- Date/Time last updated
-
setUpdateTime
public void setUpdateTime(Date updateTime)
Set up the last update time for this instance.- Parameters:
updateTime- Date/Time last updated
-
getVersion
public long getVersion()
Return the version number for this instance.- Returns:
- Long version number
-
setVersion
public void setVersion(long version)
Set up the version number for this instance.- Parameters:
version- Long version number
-
toString
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-