Package org.apache.gravitino.dto.tag
Class MetadataObjectDTO
java.lang.Object
org.apache.gravitino.dto.tag.MetadataObjectDTO
- All Implemented Interfaces:
MetadataObject
Represents a Metadata Object DTO (Data Transfer Object).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for constructing a Metadata Object DTO.Nested classes/interfaces inherited from interface org.apache.gravitino.MetadataObject
MetadataObject.Type -
Method Summary
Modifier and TypeMethodDescriptionstatic MetadataObjectDTO.Builderbuilder()name()The name of the object.parent()The parent full name of the object.voidsetFullName(String fullName) Sets the full name of the metadata object.type()The type of the object.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.gravitino.MetadataObject
fullName
-
Method Details
-
parent
Description copied from interface:MetadataObjectThe parent full name of the object. If the object doesn't have parent, this method will return null.- Specified by:
parentin interfaceMetadataObject- Returns:
- The parent full name of the object.
-
name
Description copied from interface:MetadataObjectThe name of the object.- Specified by:
namein interfaceMetadataObject- Returns:
- The name of the object.
-
type
Description copied from interface:MetadataObjectThe type of the object.- Specified by:
typein interfaceMetadataObject- Returns:
- The type of the object.
-
getFullName
- Returns:
- The full name of the metadata object.
-
setFullName
Sets the full name of the metadata object. Only used by Jackson deserializer.- Parameters:
fullName- The full name of the metadata object.
-
builder
- Returns:
- a new builder for constructing a Metadata Object DTO.
-