Class OwnerRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.assetowner.rest.AssetOwnerOMASAPIRequestBody
org.odpi.openmetadata.accessservices.assetowner.rest.OwnerRequestBody
- All Implemented Interfaces:
Serializable
OwnerRequestBody provides a structure for passing information about an asset owner as a request body over a REST API.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorOwnerRequestBody(OwnerRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.Return the owner Id.org.odpi.openmetadata.frameworks.connectors.properties.beans.OwnerTypeDeprecated.inthashCode()Return hash code for this objectvoidsetOwnerId(String ownerId) Set up the owner id.voidsetOwnerPropertyName(String ownerPropertyName) voidsetOwnerType(org.odpi.openmetadata.frameworks.connectors.properties.beans.OwnerType ownerType) Deprecated.voidsetOwnerTypeName(String ownerTypeName) toString()JSON-style toString.
-
Constructor Details
-
OwnerRequestBody
public OwnerRequestBody()Default constructor -
OwnerRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getOwnerType
@Deprecated public org.odpi.openmetadata.frameworks.connectors.properties.beans.OwnerType getOwnerType()Deprecated.Return the type of owner.- Returns:
- string
-
setOwnerType
@Deprecated public void setOwnerType(org.odpi.openmetadata.frameworks.connectors.properties.beans.OwnerType ownerType) Deprecated.Set up the type of owner.- Parameters:
ownerType- string
-
getOwnerId
Return the owner Id.- Returns:
- string identifier
-
setOwnerId
Set up the owner id.- Parameters:
ownerId- identifier.
-
getOwnerTypeName
-
setOwnerTypeName
-
getOwnerPropertyName
-
setOwnerPropertyName
-
toString
JSON-style toString.- Overrides:
toStringin classAssetOwnerOMASAPIRequestBody- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same. -
hashCode
public int hashCode()Return hash code for this object
-