Class ColumnMetadata

java.lang.Object
org.eclipse.dirigible.database.api.metadata.ColumnMetadata

public class ColumnMetadata
extends Object
The Column Metadata transport object.
  • Constructor Details

    • ColumnMetadata

      public ColumnMetadata​(String name, String type, int size, boolean nullable, boolean key, int scale)
      Instantiates a new column metadata.
      Parameters:
      name - the name
      type - the type
      size - the size
      nullable - the nullable
      key - the key
      scale - the scale
  • Method Details

    • getName

      public String getName()
      Gets the name.
      Returns:
      the name
    • setName

      public void setName​(String name)
      Sets the name.
      Parameters:
      name - the new name
    • getType

      public String getType()
      Gets the type.
      Returns:
      the type
    • setType

      public void setType​(String type)
      Sets the type.
      Parameters:
      type - the new type
    • getSize

      public int getSize()
      Gets the size.
      Returns:
      the size
    • setSize

      public void setSize​(int size)
      Sets the size.
      Parameters:
      size - the new size
    • isNullable

      public boolean isNullable()
      Checks if is nullable.
      Returns:
      true, if is nullable
    • setNullable

      public void setNullable​(boolean nullable)
      Sets the nullable.
      Parameters:
      nullable - the new nullable
    • isKey

      public boolean isKey()
      Checks if is key.
      Returns:
      true, if is key
    • setKey

      public void setKey​(boolean key)
      Sets the key.
      Parameters:
      key - the new key
    • getKind

      public String getKind()
      Gets the kind.
      Returns:
      the kind
    • setKind

      public void setKind​(String kind)
      Sets the kind.
      Parameters:
      kind - the new kind
    • getScale

      public int getScale()
      Gets the scale.
      Returns:
      the scale
    • setScale

      public void setScale​(int scale)
      Sets the scale.
      Parameters:
      scale - the scale to set