org.ujorm.orm.metaModel
Class MetaIndex

java.lang.Object
  extended by org.ujorm.extensions.SuperAbstractUjo
      extended by org.ujorm.extensions.AbstractUjo
          extended by org.ujorm.orm.AbstractMetaModel
              extended by org.ujorm.orm.metaModel.MetaIndex
All Implemented Interfaces:
Serializable, UjoCloneable, UjoLockable, UjoTextable, Ujo

public final class MetaIndex
extends AbstractMetaModel

DB index metamodel.

See Also:
Serialized Form

Field Summary
static ListKey<MetaIndex,MetaColumn> COLUMNS
          Table Columns
static Key<MetaIndex,String> NAME
          Index database name
static Key<MetaIndex,MetaTable> TABLE
          Table
static Key<MetaIndex,Boolean> UNIQUE
          Is the index unique ?
 
Constructor Summary
MetaIndex(String index, MetaTable table)
           
 
Method Summary
 String toString()
          Show an index name + table
 
Methods inherited from class org.ujorm.orm.AbstractMetaModel
changeDefault, checkReadOnly, clearReadOnly, get, lock, readAuthorization, readOnly, setReadOnly, writeValue
 
Methods inherited from class org.ujorm.extensions.AbstractUjo
newCamelFactory, newFactory, readValue
 
Methods inherited from class org.ujorm.extensions.SuperAbstractUjo
clone, equals, init, init, readKeys, readUjoManager, readValueString, writeValueString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ujorm.Ujo
readKeys, readValue
 

Field Detail

NAME

public static final Key<MetaIndex,String> NAME
Index database name


TABLE

public static final Key<MetaIndex,MetaTable> TABLE
Table


UNIQUE

public static final Key<MetaIndex,Boolean> UNIQUE
Is the index unique ?


COLUMNS

public static final ListKey<MetaIndex,MetaColumn> COLUMNS
Table Columns

Constructor Detail

MetaIndex

public MetaIndex(String index,
                 MetaTable table)
Method Detail

toString

public String toString()
Show an index name + table

Overrides:
toString in class SuperAbstractUjo


Copyright 2013, Pavel Ponec