Class AssetCollectionRequestBody

java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.rest.CommunityProfileOMASAPIRequestBody
org.odpi.openmetadata.accessservices.communityprofile.rest.AssetCollectionRequestBody
All Implemented Interfaces:
Serializable

public class AssetCollectionRequestBody extends CommunityProfileOMASAPIRequestBody
AssetCollectionRequestBody defines the properties used to create an asset connector anchor object. AssetCollectionMember collections are linked off of the individual's profile.
See Also:
  • Constructor Details

    • AssetCollectionRequestBody

      public AssetCollectionRequestBody()
      Default Constructor
    • AssetCollectionRequestBody

      public AssetCollectionRequestBody(AssetCollectionRequestBody template)
      Copy/clone Constructor - the resulting object.
      Parameters:
      template - object being copied
  • Method Details

    • getQualifiedName

      public String getQualifiedName()
      Return the unique name for this asset.
      Returns:
      string name
    • setQualifiedName

      public void setQualifiedName(String qualifiedName)
      Set up the unique name for this asset.
      Parameters:
      qualifiedName - string name
    • getDisplayName

      public String getDisplayName()
      Return the display name for this asset (normally a shortened for of the qualified name).
      Returns:
      string name
    • setDisplayName

      public void setDisplayName(String displayName)
      Set up the display name for this asset (normally a shortened for of the qualified name).
      Parameters:
      displayName - string name
    • getDescription

      public String getDescription()
      Return the description for this asset.
      Returns:
      string description
    • setDescription

      public void setDescription(String description)
      Set up the description for this asset.
      Parameters:
      description - string
    • getCollectionUse

      public String getCollectionUse()
      Return the description of how the collection is used by the actor.
      Returns:
      text
    • setCollectionUse

      public void setCollectionUse(String collectionUse)
      Set up the description of how the collection is used by the actor.
      Parameters:
      collectionUse - test
    • getCollectionOrdering

      public CollectionOrder getCollectionOrdering()
      Return the property to use to determine the order that assets are returned.
      Returns:
      AssetCollectionOrder enum
    • setCollectionOrdering

      public void setCollectionOrdering(CollectionOrder collectionOrdering)
      Set up the property to use to determine the order that assets are returned.
      Parameters:
      collectionOrdering - AssetCollectionOrder enum
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return any additional properties associated with the asset.
      Returns:
      map of property names to property values
    • setAdditionalProperties

      public void setAdditionalProperties(Map<String,Object> additionalProperties)
      Set up any additional properties associated with the asset.
      Parameters:
      additionalProperties - map of property names to property values
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class CommunityProfileOMASAPIRequestBody
      Returns:
      return string containing the property names and values
    • equals

      public boolean equals(Object objectToCompare)
      Return comparison result based on the content of the properties.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class Object
      Returns:
      int hash code