Class Element
java.lang.Object
org.odpi.openmetadata.accessservices.assetcatalog.model.Element
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AssetCatalogBean
,AssetCatalogItemElement
,Elements
,Relationship
Element object holds properties that are used for displaying details of an entity.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Returns the additional properties of the elementReturns the classifications of the elementReturn the name of the user that created the asset.Returns the date when the asset has been createdgetGuid()
Return the asset unique identifiergetName()
Returns the name of the assetReturns the origin of the elementReturns the parent of the elementReturns the properties of the elementReturns the status of the assetgetType()
Returns the type definition of the assetReturn the name of the user that updated the asset last timeReturns the date when the asset has been createdgetUrl()
Returns the URLReturns the version of the assetint
hashCode()
void
setAdditionalProperties
(Map<String, String> additionalProperties) Setup the additional properties of the elementvoid
setClassifications
(List<Classification> classifications) Setup the classifications of the elementvoid
setCreatedBy
(String createdBy) Set up the name of the user that created the assetvoid
setCreateTime
(Date createTime) Set up the date when the asset has been createdvoid
Set up the unique identifier of the assetvoid
Set up the name of the assetvoid
setOrigin
(ElementOrigin origin) Setup the origin of the elementvoid
setParentElement
(Element parentElement) Setup the parent of the elementvoid
setProperties
(Map<String, String> properties) Setup the properties of the elementvoid
Set up the status of the assetvoid
Set up the type definition of the assetvoid
setUpdatedBy
(String updatedBy) Set up the name of the user that updated the asset last timevoid
setUpdateTime
(Date updateTime) Set up the date when the asset has been createdvoid
Setup the URLvoid
setVersion
(Long version) Set up the version of the assettoString()
-
Constructor Details
-
Element
public Element()
-
-
Method Details
-
getGuid
Return the asset unique identifier- Returns:
- String - unique identifier of the asset
-
getType
Returns the type definition of the asset- Returns:
- the type definition of the asset
-
getName
Returns the name of the asset- Returns:
- 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
-
getCreateTime
Returns the date when the asset has been created- Returns:
- date when for the asset creation
-
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
-
getUpdateTime
Returns the date when the asset has been created- Returns:
- date - the date when the asset has been created
-
getVersion
Returns the version of the asset- Returns:
- long - the version of the asset
-
getStatus
Returns the status of the asset- Returns:
- status
-
getUrl
Returns the URL- Returns:
- the URL
-
getProperties
Returns the properties of the element- Returns:
- the properties of the element
-
getAdditionalProperties
Returns the additional properties of the element- Returns:
- the additional properties of the element
-
getClassifications
Returns the classifications of the element- Returns:
- the classifications of the element
-
getParentElement
Returns the parent of the element- Returns:
- the parent of the element
-
getOrigin
Returns the origin of the element- Returns:
- the origin of the element
-
setGuid
Set up the unique identifier of the asset- Parameters:
guid
- of the asset
-
setType
Set up the type definition of the asset- Parameters:
type
- the type definition of the asset
-
setName
Set up the name of the asset- Parameters:
name
- - the name of 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
-
setCreateTime
Set up the date when the asset has been created- Parameters:
createTime
- - creation date of the asset
-
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
-
setUpdateTime
Set up the date when the asset has been created- Parameters:
updateTime
- - the date when the asset has been created
-
setVersion
Set up the version of the asset- Parameters:
version
- - the version of the asset
-
setStatus
Set up the status of the asset- Parameters:
status
- - enum that describes the asset's status
-
setUrl
Setup the URL- Parameters:
url
- the URL
-
setProperties
Setup the properties of the element- Parameters:
properties
- the properties of the element
-
setAdditionalProperties
Setup the additional properties of the element- Parameters:
additionalProperties
- the additional properties of the element
-
setClassifications
Setup the classifications of the element- Parameters:
classifications
- the classifications of the element
-
setParentElement
Setup the parent of the element- Parameters:
parentElement
- the parent of the element
-
setOrigin
Setup the origin of the element- Parameters:
origin
- the origin of the element
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-