Class ElementVersions
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementVersions
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.
-
Constructor Summary
ConstructorDescriptionDefault constructor used by subclassesElementVersions
(ElementVersions template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the name of the user that created this instance.Return the date/time that this instance was created.Return the list of users responsible for maintaining this instance.Return the name of the user that last updated this instance.Return what was the late time this instance was updated.long
Return the version number for this instance.int
hashCode()
Create a hash code for this element type.void
setCreatedBy
(String createdBy) Set up the name of the user that created this instance.void
setCreateTime
(Date createTime) Set up the time that this instance was created.void
setMaintainedBy
(List<String> maintainedBy) Set up the list of users responsible for maintaining this instance.void
setUpdatedBy
(String updatedBy) Set up the name of the user that last updated this instance.void
setUpdateTime
(Date updateTime) Set up the last update time for this instance.void
setVersion
(long version) Set up the version number for this instance.toString()
Standard toString method.
-
Constructor Details
-
ElementVersions
public ElementVersions()Default constructor used by subclasses -
ElementVersions
Copy/clone constructor.- Parameters:
template
- element to copy
-
-
Method Details
-
getCreatedBy
Return the name of the user that created this instance.- Returns:
- String user name
-
setCreatedBy
Set up the name of the user that created this instance.- Parameters:
createdBy
- String user name
-
getUpdatedBy
Return the name of the user that last updated this instance.- Returns:
- String user name
-
setUpdatedBy
Set up the name of the user that last updated this instance.- Parameters:
updatedBy
- String user name
-
getMaintainedBy
Return the list of users responsible for maintaining this instance.- Returns:
- list of user identifiers
-
setMaintainedBy
Set up the list of users responsible for maintaining this instance.- Parameters:
maintainedBy
- list of user identifiers
-
getCreateTime
Return the date/time that this instance was created.- Returns:
- Date/Time of creation
-
setCreateTime
Set up the time that this instance was created.- Parameters:
createTime
- Date/Time of creation
-
getUpdateTime
Return what was the late time this instance was updated.- Returns:
- Date/Time last updated
-
setUpdateTime
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
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Create a hash code for this element type.
-