Class StatusRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.discoveryengine.rest.ODFOMASAPIRequestBody
-
- org.odpi.openmetadata.accessservices.discoveryengine.rest.StatusRequestBody
-
- All Implemented Interfaces:
Serializable
public class StatusRequestBody extends ODFOMASAPIRequestBody
StatusRequestBody provides a structure for passing the annotation status of an Annotation. This value is used to restrict the values that are returned.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StatusRequestBody()Default constructorStatusRequestBody(StatusRequestBody 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.AnnotationStatusgetAnnotationStatus()Returns the stored qualified name property for the metadata entity.inthashCode()Return hash code for this objectvoidsetAnnotationStatus(AnnotationStatus annotationStatus)Set up the fully qualified name.StringtoString()JSON-style toString.
-
-
-
Constructor Detail
-
StatusRequestBody
public StatusRequestBody()
Default constructor
-
StatusRequestBody
public StatusRequestBody(StatusRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
setAnnotationStatus
public void setAnnotationStatus(AnnotationStatus annotationStatus)
Set up the fully qualified name.- Parameters:
annotationStatus- String name
-
getAnnotationStatus
public AnnotationStatus getAnnotationStatus()
Returns the stored qualified name property for the metadata entity. If no qualified name is available then the empty string is returned.- Returns:
- annotationStatus
-
toString
public String toString()
JSON-style toString.- Overrides:
toStringin classODFOMASAPIRequestBody- Returns:
- list of properties and their values.
-
equals
public boolean equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.
-
-