Class ArchiveRequestBody
java.lang.Object
org.odpi.openmetadata.frameworkservices.gaf.rest.MetadataSourceRequestBody
org.odpi.openmetadata.frameworkservices.gaf.rest.UpdateRequestBody
org.odpi.openmetadata.frameworkservices.gaf.rest.ArchiveRequestBody
ArchiveRequestBody provides a structure for passing the archive information for a metadata element.
-
Constructor Summary
ConstructorDescriptionDefault constructorArchiveRequestBody
(ArchiveRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return the archive properties.int
hashCode()
Return hash code for this objectvoid
setArchiveProperties
(ArchiveProperties archiveProperties) Set up the archive properties.toString()
JSON-style toString.Methods inherited from class org.odpi.openmetadata.frameworkservices.gaf.rest.UpdateRequestBody
getEffectiveTime, getForDuplicateProcessing, getForLineage, setEffectiveTime, setForDuplicateProcessing, setForLineage
Methods inherited from class org.odpi.openmetadata.frameworkservices.gaf.rest.MetadataSourceRequestBody
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceName
-
Constructor Details
-
ArchiveRequestBody
public ArchiveRequestBody()Default constructor -
ArchiveRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getArchiveProperties
Return the archive properties.- Returns:
- properties
-
setArchiveProperties
Set up the archive properties.- Parameters:
archiveProperties
- properties
-
toString
JSON-style toString.- Overrides:
toString
in classUpdateRequestBody
- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equals
in classUpdateRequestBody
- Parameters:
objectToCompare
- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classUpdateRequestBody
- Returns:
- int hash code
-