java.lang.Object
org.odpi.openmetadata.accessservices.assetcatalog.model.Element
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AssetCatalogBean, AssetCatalogItemElement, Elements, Relationship

public class Element extends Object implements Serializable
Element object holds properties that are used for displaying details of an entity.
See Also:
  • Constructor Details

    • Element

      public Element()
  • Method Details

    • getGuid

      public String getGuid()
      Return the asset unique identifier
      Returns:
      String - unique identifier of the asset
    • getType

      public Type getType()
      Returns the type definition of the asset
      Returns:
      the type definition of the asset
    • getName

      public String getName()
      Returns the name of the asset
      Returns:
      the name of the asset
    • getCreatedBy

      public String getCreatedBy()
      Return the name of the user that created the asset.
      Returns:
      the name of the users that created the asset
    • getCreateTime

      public Date getCreateTime()
      Returns the date when the asset has been created
      Returns:
      date when for the asset creation
    • getUpdatedBy

      public String 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

      public Date getUpdateTime()
      Returns the date when the asset has been created
      Returns:
      date - the date when the asset has been created
    • getVersion

      public Long getVersion()
      Returns the version of the asset
      Returns:
      long - the version of the asset
    • getStatus

      public String getStatus()
      Returns the status of the asset
      Returns:
      status
    • getUrl

      public String getUrl()
      Returns the URL
      Returns:
      the URL
    • getProperties

      public Map<String,String> getProperties()
      Returns the properties of the element
      Returns:
      the properties of the element
    • getAdditionalProperties

      public Map<String,String> getAdditionalProperties()
      Returns the additional properties of the element
      Returns:
      the additional properties of the element
    • getClassifications

      public List<Classification> getClassifications()
      Returns the classifications of the element
      Returns:
      the classifications of the element
    • getParentElement

      public Element getParentElement()
      Returns the parent of the element
      Returns:
      the parent of the element
    • getOrigin

      public ElementOrigin getOrigin()
      Returns the origin of the element
      Returns:
      the origin of the element
    • setGuid

      public void setGuid(String guid)
      Set up the unique identifier of the asset
      Parameters:
      guid - of the asset
    • setType

      public void setType(Type type)
      Set up the type definition of the asset
      Parameters:
      type - the type definition of the asset
    • setName

      public void setName(String name)
      Set up the name of the asset
      Parameters:
      name - - the name of the asset
    • setCreatedBy

      public void setCreatedBy(String createdBy)
      Set up the name of the user that created the asset
      Parameters:
      createdBy - - the name of the user that created the asset
    • setCreateTime

      public void setCreateTime(Date createTime)
      Set up the date when the asset has been created
      Parameters:
      createTime - - creation date of the asset
    • setUpdatedBy

      public void setUpdatedBy(String updatedBy)
      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

      public void setUpdateTime(Date updateTime)
      Set up the date when the asset has been created
      Parameters:
      updateTime - - the date when the asset has been created
    • setVersion

      public void setVersion(Long version)
      Set up the version of the asset
      Parameters:
      version - - the version of the asset
    • setStatus

      public void setStatus(String status)
      Set up the status of the asset
      Parameters:
      status - - enum that describes the asset's status
    • setUrl

      public void setUrl(String url)
      Setup the URL
      Parameters:
      url - the URL
    • setProperties

      public void setProperties(Map<String,String> properties)
      Setup the properties of the element
      Parameters:
      properties - the properties of the element
    • setAdditionalProperties

      public void setAdditionalProperties(Map<String,String> additionalProperties)
      Setup the additional properties of the element
      Parameters:
      additionalProperties - the additional properties of the element
    • setClassifications

      public void setClassifications(List<Classification> classifications)
      Setup the classifications of the element
      Parameters:
      classifications - the classifications of the element
    • setParentElement

      public void setParentElement(Element parentElement)
      Setup the parent of the element
      Parameters:
      parentElement - the parent of the element
    • setOrigin

      public void setOrigin(ElementOrigin origin)
      Setup the origin of the element
      Parameters:
      origin - the origin of the element
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object