Class AssetOriginProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.assets.AssetOriginProperties
AssetOriginProperties provides a structure for passing information about an asset's origin.
-
Constructor Summary
ConstructorDescriptionDefault constructorAssetOriginProperties
(AssetOriginProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return the unique identifier (GUID) of the business capability where this asset originated from.Return the unique identifier (GUID) of the organization where this asset originated from.Return any other descriptive labels describing origin of the asset.int
hashCode()
Return hash code for this objectvoid
setBusinessCapabilityGUID
(String businessCapabilityGUID) Set up the unique identifier (GUID) of the business capability where this asset originated from.void
setOrganizationGUID
(String organizationGUID) Set up the unique identifier (GUID) of the organization where this asset originated from.void
setOtherOriginValues
(Map<String, String> otherOriginValues) Set up any descriptive labels describing origin of the asset.toString()
JSON-style toString.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
AssetOriginProperties
public AssetOriginProperties()Default constructor -
AssetOriginProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getOrganizationGUID
Return the unique identifier (GUID) of the organization where this asset originated from.- Returns:
- unique identifier (GUID)
-
setOrganizationGUID
Set up the unique identifier (GUID) of the organization where this asset originated from.- Parameters:
organizationGUID
- unique identifier (GUID)
-
getBusinessCapabilityGUID
Return the unique identifier (GUID) of the business capability where this asset originated from.- Returns:
- unique identifier (GUID)
-
setBusinessCapabilityGUID
Set up the unique identifier (GUID) of the business capability where this asset originated from.- Parameters:
businessCapabilityGUID
- unique identifier (GUID)
-
getOtherOriginValues
Return any other descriptive labels describing origin of the asset.- Returns:
- map of property values
-
setOtherOriginValues
Set up any descriptive labels describing origin of the asset.- Parameters:
otherOriginValues
- map of property values
-
toString
JSON-style toString.- Overrides:
toString
in classClassificationProperties
- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equals
in classClassificationProperties
- Parameters:
objectToCompare
- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classClassificationProperties
- Returns:
- int hash code
-