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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AssetCollectionRequestBody()Default ConstructorAssetCollectionRequestBody(AssetCollectionRequestBody template)Copy/clone Constructor - the resulting object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.Map<String,Object>getAdditionalProperties()Return any additional properties associated with the asset.CollectionOrdergetCollectionOrdering()Return the property to use to determine the order that assets are returned.StringgetCollectionUse()Return the description of how the collection is used by the actor.StringgetDescription()Return the description for this asset.StringgetDisplayName()Return the display name for this asset (normally a shortened for of the qualified name).StringgetQualifiedName()Return the unique name for this asset.inthashCode()Return hash code for this objectvoidsetAdditionalProperties(Map<String,Object> additionalProperties)Set up any additional properties associated with the asset.voidsetCollectionOrdering(CollectionOrder collectionOrdering)Set up the property to use to determine the order that assets are returned.voidsetCollectionUse(String collectionUse)Set up the description of how the collection is used by the actor.voidsetDescription(String description)Set up the description for this asset.voidsetDisplayName(String displayName)Set up the display name for this asset (normally a shortened for of the qualified name).voidsetQualifiedName(String qualifiedName)Set up the unique name for this asset.StringtoString()JSON-style toString
-
-
-
Constructor Detail
-
AssetCollectionRequestBody
public AssetCollectionRequestBody()
Default Constructor
-
AssetCollectionRequestBody
public AssetCollectionRequestBody(AssetCollectionRequestBody template)
Copy/clone Constructor - the resulting object.- Parameters:
template- object being copied
-
-
Method Detail
-
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:
toStringin classCommunityProfileOMASAPIRequestBody- 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.
-
-