Class Element
java.lang.Object
org.odpi.openmetadata.viewservices.assetcatalog.beans.Element
- Direct Known Subclasses:
AssetCatalogBean
,AssetCatalogItemElement
,Elements
,Relationship
Element object holds properties that are used for displaying details of an entity.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Returns the additional properties of the element.Returns the anchor of the element.Returns the classifications of the element.Return the name of the user that created the asset.Returns the date when the asset has been created.getGuid()
Return the asset unique identifier.getName()
Returns the name of the asset.Returns the origin of the element.Deprecated.Returns the properties of the element.Returns the status of the asset.getType()
Returns the type definition of the asset.Return the name of the user that updated the asset last time.Returns the date when the asset has been created.getUrl()
Returns the URL.Returns the version of the asset.int
hashCode()
Return hash code based on properties.void
setAdditionalProperties
(Map<String, String> additionalProperties) Set up the additional properties of the element.void
setAnchorElement
(Element anchorElement) Set up the anchor of the element.void
setClassifications
(List<Classification> classifications) Set up the classifications of the element.void
setCreatedBy
(String createdBy) Set up the name of the user that created the asset.void
setCreateTime
(Date createTime) Set up the date when the asset has been created.void
Set up the unique identifier of the asset.void
Set up the name of the asset.void
setOrigin
(ElementOrigin origin) Set up the origin of the element.void
setParentElement
(Element anchorElement) Deprecated.void
setProperties
(Map<String, String> properties) Set up the properties of the element.void
Set up the status of the asset.void
Set up the type definition of the asset.void
setUpdatedBy
(String updatedBy) Set up the name of the user that updated the asset last time.void
setUpdateTime
(Date updateTime) Set up the date when the asset has been created.void
Set up the URL.void
setVersion
(Long version) Set up the version of the asset.toString()
Standard toString method.
-
Constructor Details
-
Element
public Element()Default constructor.
-
-
Method Details
-
getGuid
Return the asset unique identifier.- Returns:
- String - unique identifier of the asset
-
setGuid
Set up the unique identifier of the asset.- Parameters:
guid
- of the asset
-
getType
Returns the type definition of the asset.- Returns:
- the type definition of the asset
-
setType
Set up the type definition of the asset.- Parameters:
type
- the type definition of the asset
-
getName
Returns the name of the asset.- Returns:
- the name of the asset
-
setName
Set up the name of the asset.- Parameters:
name
- - the name of the asset
-
getCreatedBy
Return the name of the user that created the asset.- Returns:
- the name of the users that created the asset
-
setCreatedBy
Set up the name of the user that created the asset.- Parameters:
createdBy
- - the name of the user that created the asset
-
getCreateTime
Returns the date when the asset has been created.- Returns:
- date when for the asset creation
-
setCreateTime
Set up the date when the asset has been created.- Parameters:
createTime
- - creation date of the asset
-
getUpdatedBy
Return the name of the user that updated the asset last time.- Returns:
- string - the name of the user that updated the asset last time
-
setUpdatedBy
Set up the name of the user that updated the asset last time.- Parameters:
updatedBy
- the name of the user that updated the asset last time
-
getUpdateTime
Returns the date when the asset has been created.- Returns:
- date - the date when the asset has been created
-
setUpdateTime
Set up the date when the asset has been created.- Parameters:
updateTime
- - the date when the asset has been created
-
getVersion
Returns the version of the asset.- Returns:
- long - the version of the asset
-
setVersion
Set up the version of the asset.- Parameters:
version
- - the version of the asset
-
getStatus
Returns the status of the asset.- Returns:
- status
-
setStatus
Set up the status of the asset.- Parameters:
status
- - enum that describes the asset's status
-
getUrl
Returns the URL.- Returns:
- the URL
-
setUrl
Set up the URL.- Parameters:
url
- the URL
-
getProperties
Returns the properties of the element.- Returns:
- the properties of the element
-
setProperties
Set up the properties of the element.- Parameters:
properties
- the properties of the element
-
getAdditionalProperties
Returns the additional properties of the element.- Returns:
- the additional properties of the element
-
setAdditionalProperties
Set up the additional properties of the element.- Parameters:
additionalProperties
- the additional properties of the element
-
getClassifications
Returns the classifications of the element.- Returns:
- the classifications of the element
-
setClassifications
Set up the classifications of the element.- Parameters:
classifications
- the classifications of the element
-
getAnchorElement
Returns the anchor of the element.- Returns:
- the anchor of the element
-
setAnchorElement
Set up the anchor of the element.- Parameters:
anchorElement
- the anchor of the element
-
getParentElement
Deprecated.Returns the anchor of the element.- Returns:
- the anchor of the element
-
setParentElement
Deprecated.Set up the anchor of the element.- Parameters:
anchorElement
- the anchor of the element
-
getOrigin
Returns the origin of the element.- Returns:
- the origin of the element
-
setOrigin
Set up the origin of the element.- Parameters:
origin
- the origin of the element
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-