Class OwnerRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.OwnerRequestBody
OwnerRequestBody provides a structure for passing information about an asset owner as a request body over a REST API.
-
Constructor Summary
ConstructorDescriptionDefault constructorOwnerRequestBody
(OwnerRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return the owner identifier.Return the property name used to identify the owner.Return the type of element used to represent the owner.int
hashCode()
Return hash code for this objectvoid
setOwnerId
(String ownerId) Set up the owner id.void
setOwnerPropertyName
(String ownerPropertyName) Set up the property name used to identify the owner.void
setOwnerTypeName
(String ownerTypeName) Set up the type of element used to represent the owner.toString()
JSON-style toString.
-
Constructor Details
-
OwnerRequestBody
public OwnerRequestBody()Default constructor -
OwnerRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getOwnerId
Return the owner identifier.- Returns:
- string identifier
-
setOwnerId
Set up the owner id.- Parameters:
ownerId
- identifier.
-
getOwnerTypeName
Return the type of element used to represent the owner.- Returns:
- string type name
-
setOwnerTypeName
Set up the type of element used to represent the owner.- Parameters:
ownerTypeName
- string type name
-
getOwnerPropertyName
Return the property name used to identify the owner. For example guid or qualifiedName.- Returns:
- string property name
-
setOwnerPropertyName
Set up the property name used to identify the owner. For example guid or qualifiedName.- Parameters:
ownerPropertyName
- string property name
-
toString
JSON-style toString. -
equals
Equals method that returns true if containing properties are the same. -
hashCode
public int hashCode()Return hash code for this object
-