Class AssetCollectionMember
java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.metadataelements.CollectionMemberHeader
org.odpi.openmetadata.accessservices.communityprofile.metadataelements.AssetCollectionMember
- All Implemented Interfaces:
Serializable
,MetadataElement
AssetCollectionMember describes an asset that is a member of an individual's my-assets collection.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorAssetCollectionMember
(AssetCollectionMember template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the properties of the asset.int
hashCode()
Return hash code for this objectvoid
setProperties
(AssetProperties properties) Set up the asset properties.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.communityprofile.metadataelements.CollectionMemberHeader
getDateAddedToCollection, getElementHeader, getMembershipRationale, setDateAddedToCollection, setElementHeader, setMembershipRationale
-
Constructor Details
-
AssetCollectionMember
public AssetCollectionMember()Default constructor -
AssetCollectionMember
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getProperties
Return the properties of the asset.- Returns:
- properties
-
setProperties
Set up the asset properties.- Parameters:
properties
- properties
-
toString
JSON-style toString- Overrides:
toString
in classCollectionMemberHeader
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classCollectionMemberHeader
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classCollectionMemberHeader
- Returns:
- int hash code
-