Class LiteralSchemaTypeRequestBody
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.schema.SchemaElementProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.schema.SchemaTypeProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.schema.LiteralSchemaTypeProperties
org.odpi.openmetadata.commonservices.ffdc.rest.LiteralSchemaTypeRequestBody
public class LiteralSchemaTypeRequestBody
extends org.odpi.openmetadata.frameworks.openmetadata.properties.schema.LiteralSchemaTypeProperties
LiteralSchemaTypeRequestBody describes the properties of the schema type plus the optional identifiers for an
owning software server capability.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor.LiteralSchemaTypeRequestBody(org.odpi.openmetadata.frameworks.openmetadata.properties.schema.LiteralSchemaTypeProperties template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the unique identifier of the software server capability entity that represented the external source - null for local.Return the unique name of the software server capability entity that represented the external source.inthashCode()Return hash code for this objectvoidsetExternalSourceGUID(String externalSourceGUID) Set up the unique identifier of the software server capability entity that represented the external source - null for local.voidsetExternalSourceName(String externalSourceName) Set up the unique name of the software server capability entity that represented the external source.toString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.schema.LiteralSchemaTypeProperties
getDataType, getFixedValue, setDataType, setFixedValueMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.schema.SchemaTypeProperties
getAuthor, getEncodingStandard, getFormula, getFormulaType, getNamespace, getQueries, getUsage, getVersionNumber, setAuthor, setEncodingStandard, setFormula, setFormulaType, setNamespace, setQueries, setUsage, setVersionNumberMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.schema.SchemaElementProperties
getDescription, getDisplayName, getIsDeprecated, setDescription, setDisplayName, setIsDeprecatedMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getQualifiedName, getVendorProperties, setAdditionalProperties, setQualifiedName, setVendorPropertiesMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, getTypeName, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setTypeName
-
Constructor Details
-
LiteralSchemaTypeRequestBody
public LiteralSchemaTypeRequestBody()Default constructor -
LiteralSchemaTypeRequestBody
Copy/clone constructor.- Parameters:
template- object to copy
-
LiteralSchemaTypeRequestBody
public LiteralSchemaTypeRequestBody(org.odpi.openmetadata.frameworks.openmetadata.properties.schema.LiteralSchemaTypeProperties template) Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Details
-
getExternalSourceGUID
Return the unique identifier of the software server capability entity that represented the external source - null for local.- Returns:
- string guid
-
setExternalSourceGUID
Set up the unique identifier of the software server capability entity that represented the external source - null for local.- Parameters:
externalSourceGUID- string guid
-
getExternalSourceName
Return the unique name of the software server capability entity that represented the external source.- Returns:
- string name
-
setExternalSourceName
Set up the unique name of the software server capability entity that represented the external source.- Parameters:
externalSourceName- string name
-
toString
JSON-style toString- Overrides:
toStringin classorg.odpi.openmetadata.frameworks.openmetadata.properties.schema.LiteralSchemaTypeProperties- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classorg.odpi.openmetadata.frameworks.openmetadata.properties.schema.LiteralSchemaTypeProperties- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classorg.odpi.openmetadata.frameworks.openmetadata.properties.schema.LiteralSchemaTypeProperties- Returns:
- int hash code
-