Class OwnerProperties
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.properties.ClassificationProperties
org.odpi.openmetadata.accessservices.assetmanager.properties.OwnerProperties
OwnerProperties describes the properties that identifies the owner of an attached element (or the resource it represents).
-
Constructor Summary
ConstructorDescriptionDefault constructorOwnerProperties
(OwnerProperties template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.getOwner()
Returns the name of the owner for this asset.Return the property name of the identifier that is representing the owner.Return the type name of the element representing the owner.int
hashCode()
Return hash code based on properties.void
Set up the name of the owner for this asset.void
setOwnerPropertyName
(String ownerPropertyName) Set up the property name of the identifier that is representing the owner.void
setOwnerTypeName
(String ownerTypeName) Set up the type name of the element representing the owner.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.ClassificationProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
OwnerProperties
public OwnerProperties()Default constructor -
OwnerProperties
Copy/clone constructor. Retrieve values from the supplied template- Parameters:
template
- element to copy
-
-
Method Details
-
getOwner
Returns the name of the owner for this asset.- Returns:
- owner String
-
setOwner
Set up the name of the owner for this asset.- Parameters:
owner
- String name
-
getOwnerTypeName
Return the type name of the element representing the owner.- Returns:
- name
-
setOwnerTypeName
Set up the type name of the element representing the owner.- Parameters:
ownerTypeName
- name
-
getOwnerPropertyName
Return the property name of the identifier that is representing the owner.- Returns:
- name
-
setOwnerPropertyName
Set up the property name of the identifier that is representing the owner.- Parameters:
ownerPropertyName
- name
-
toString
Standard toString method.- Overrides:
toString
in classClassificationProperties
- 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:
equals
in classClassificationProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classClassificationProperties
- Returns:
- int
-