Class Relation

java.lang.Object
ch.ergon.adam.core.db.schema.SchemaItem
ch.ergon.adam.core.db.schema.Relation
Direct Known Subclasses:
Table, View

public abstract class Relation extends SchemaItem
  • Constructor Details

    • Relation

      public Relation(String name)
  • Method Details

    • getField

      @Nullable public Field getField(String name)
    • getFieldIndex

      public int getFieldIndex(Field field)
    • getFields

      public Collection<Field> getFields()
    • setFields

      public void setFields(Collection<Field> fields)
    • getDependentViews

      public Collection<View> getDependentViews()
    • addDependentView

      public void addDependentView(View view)