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