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
ConstructorsConstructorDescriptionDefault constructorArchiveRequestBody(ArchiveRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.org.odpi.openmetadata.frameworks.openmetadata.properties.ArchivePropertiesReturn the archive properties.inthashCode()Return hash code for this objectvoidsetArchiveProperties(org.odpi.openmetadata.frameworks.openmetadata.properties.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, setForLineageMethods 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
public org.odpi.openmetadata.frameworks.openmetadata.properties.ArchiveProperties getArchiveProperties()Return the archive properties.- Returns:
- properties
-
setArchiveProperties
public void setArchiveProperties(org.odpi.openmetadata.frameworks.openmetadata.properties.ArchiveProperties archiveProperties) Set up the archive properties.- Parameters:
archiveProperties- properties
-
toString
JSON-style toString.- Overrides:
toStringin classUpdateRequestBody- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equalsin classUpdateRequestBody- Parameters:
objectToCompare- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classUpdateRequestBody- Returns:
- int hash code
-