Class OriginRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.commonservices.ocf.metadatamanagement.rest.OCFOMASAPIRequestBody
-
- org.odpi.openmetadata.commonservices.ocf.metadatamanagement.rest.OriginRequestBody
-
- All Implemented Interfaces:
Serializable
public class OriginRequestBody extends OCFOMASAPIRequestBody
OriginRequestBody provides a structure for passing information about an asset's origin as a request body over a REST API.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OriginRequestBody()Default constructorOriginRequestBody(OriginRequestBody template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Equals method that returns true if containing properties are the same.StringgetBusinessCapabilityGUID()Return the unique identifier (GUID) of the business capability where this asset originated from.StringgetOrganizationGUID()Return the unique identifier (GUID) of the organization where this asset originated from.Map<String,String>getOtherOriginValues()Return any other descriptive labels describing origin of the asset.inthashCode()Return hash code for this objectvoidsetBusinessCapabilityGUID(String businessCapabilityGUID)Set up the unique identifier (GUID) of the business capability where this asset originated from.voidsetOrganizationGUID(String organizationGUID)Set up the unique identifier (GUID) of the organization where this asset originated from.voidsetOtherOriginValues(Map<String,String> otherOriginValues)Set up any descriptive labels describing origin of the asset.StringtoString()JSON-style toString.
-
-
-
Constructor Detail
-
OriginRequestBody
public OriginRequestBody()
Default constructor
-
OriginRequestBody
public OriginRequestBody(OriginRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getOrganizationGUID
public String getOrganizationGUID()
Return the unique identifier (GUID) of the organization where this asset originated from.- Returns:
- unique identifier (GUID)
-
setOrganizationGUID
public void setOrganizationGUID(String organizationGUID)
Set up the unique identifier (GUID) of the organization where this asset originated from.- Parameters:
organizationGUID- unique identifier (GUID)
-
getBusinessCapabilityGUID
public String getBusinessCapabilityGUID()
Return the unique identifier (GUID) of the business capability where this asset originated from.- Returns:
- unique identifier (GUID)
-
setBusinessCapabilityGUID
public void setBusinessCapabilityGUID(String businessCapabilityGUID)
Set up the unique identifier (GUID) of the business capability where this asset originated from.- Parameters:
businessCapabilityGUID- unique identifier (GUID)
-
getOtherOriginValues
public Map<String,String> getOtherOriginValues()
Return any other descriptive labels describing origin of the asset.- Returns:
- map of property values
-
setOtherOriginValues
public void setOtherOriginValues(Map<String,String> otherOriginValues)
Set up any descriptive labels describing origin of the asset.- Parameters:
otherOriginValues- map of property values
-
toString
public String toString()
JSON-style toString.- Overrides:
toStringin classOCFOMASAPIRequestBody- Returns:
- list of properties and their values.
-
equals
public boolean equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.
-
-