Class OwnerProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.governance.OwnerProperties
OwnerProperties describes the properties that identifies the owner of an attached element (or the resource it represents).
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorOwnerProperties(OwnerProperties template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare 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.inthashCode()Return hash code based on properties.voidSet up the name of the owner for this asset.voidsetOwnerPropertyName(String ownerPropertyName) Set up the property name of the identifier that is representing the owner.voidsetOwnerTypeName(String ownerTypeName) Set up the type name of the element representing the owner.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.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:
toStringin 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:
equalsin classClassificationProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classClassificationProperties- Returns:
- int
-