Class MetadataObjectDTO

java.lang.Object
org.apache.gravitino.dto.tag.MetadataObjectDTO
All Implemented Interfaces:
MetadataObject

public class MetadataObjectDTO extends Object implements MetadataObject
Represents a Metadata Object DTO (Data Transfer Object).
  • Method Details

    • parent

      public String parent()
      Description copied from interface: MetadataObject
      The parent full name of the object. If the object doesn't have parent, this method will return null.
      Specified by:
      parent in interface MetadataObject
      Returns:
      The parent full name of the object.
    • name

      public String name()
      Description copied from interface: MetadataObject
      The name of the object.
      Specified by:
      name in interface MetadataObject
      Returns:
      The name of the object.
    • type

      public MetadataObject.Type type()
      Description copied from interface: MetadataObject
      The type of the object.
      Specified by:
      type in interface MetadataObject
      Returns:
      The type of the object.
    • getFullName

      public String getFullName()
      Returns:
      The full name of the metadata object.
    • setFullName

      public void setFullName(String fullName)
      Sets the full name of the metadata object. Only used by Jackson deserializer.
      Parameters:
      fullName - The full name of the metadata object.
    • builder

      public static MetadataObjectDTO.Builder builder()
      Returns:
      a new builder for constructing a Metadata Object DTO.