Class AssetProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.EntityProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.assets.AssetProperties
- Direct Known Subclasses:
DataAssetProperties,InfrastructureProperties,ProcessProperties
AssetProperties describes an asset.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorAssetProperties(AssetProperties template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Retrieve the name of the technology used for this data asset.Return the name of the namespace that this type belongs to.Return the full name of the resource as it is known in its owning technology.Return the source (such as author, vendor or operator) of the asset.Return the status used when element status is OTHER.inthashCode()Return hash code based on properties.voidsetDeployedImplementationType(String deployedImplementationType) Set up the name of the technology used for this data asset.voidsetNamespace(String namespace) Set up the name of the namespace that this type belongs to.voidsetResourceName(String resourceName) Set up the full name of the resource as it is known in its owning technology.voidSet up the source (such as author, vendor or operator) of the asset.voidsetUserDefinedStatus(String userDefinedStatus) Set up the status used when element status is OTHER.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getCategory, getDescription, getDisplayName, getIdentifier, getQualifiedName, getURL, getVersionIdentifier, setAdditionalProperties, setCategory, setDescription, setDisplayName, setIdentifier, setQualifiedName, setURL, setVersionIdentifierMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getExtendedProperties, getTypeName, setExtendedProperties, setTypeNameMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.EntityProperties
getEffectiveFrom, getEffectiveTo, setEffectiveFrom, setEffectiveTo
-
Constructor Details
-
AssetProperties
public AssetProperties()Default constructor -
AssetProperties
Copy/clone constructor. Note, this is a deep copy- Parameters:
template- object to copy
-
-
Method Details
-
getResourceName
Return the full name of the resource as it is known in its owning technology.- Returns:
- string
-
setResourceName
Set up the full name of the resource as it is known in its owning technology.- Parameters:
resourceName- string
-
getNamespace
Return the name of the namespace that this type belongs to.- Returns:
- string name
-
setNamespace
Set up the name of the namespace that this type belongs to.- Parameters:
namespace- string name
-
getDeployedImplementationType
Retrieve the name of the technology used for this data asset.- Returns:
- string name
-
setDeployedImplementationType
Set up the name of the technology used for this data asset.- Parameters:
deployedImplementationType- string name
-
getSource
Return the source (such as author, vendor or operator) of the asset.- Returns:
- string name
-
setSource
Set up the source (such as author, vendor or operator) of the asset.- Parameters:
source- string name
-
getUserDefinedStatus
Return the status used when element status is OTHER.- Returns:
- string
-
setUserDefinedStatus
Set up the status used when element status is OTHER.- Parameters:
userDefinedStatus- string
-
toString
Standard toString method.- Overrides:
toStringin classReferenceableProperties- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classReferenceableProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classReferenceableProperties- Returns:
- int
-