org.ujorm.orm.metaModel
Class MetaIndex

java.lang.Object
  extended by org.ujorm.extensions.AbstractUjo
      extended by org.ujorm.implementation.quick.QuickUjo
          extended by org.ujorm.orm.AbstractMetaModel
              extended by org.ujorm.orm.metaModel.MetaIndex
All Implemented Interfaces:
java.io.Serializable, org.ujorm.extensions.UjoCloneable, org.ujorm.extensions.UjoTextable, org.ujorm.Ujo

public final class MetaIndex
extends AbstractMetaModel

DB index metamodel.

Author:
Pavel Ponec
See Also:
Serialized Form

Field Summary
static org.ujorm.extensions.ListProperty<MetaIndex,MetaColumn> COLUMNS
          Table Columns
static org.ujorm.extensions.Property<MetaIndex,java.lang.String> NAME
          Index database name
static org.ujorm.extensions.Property<MetaIndex,MetaTable> TABLE
          Table
static org.ujorm.extensions.Property<MetaIndex,java.lang.Boolean> UNIQUE
          Is the index unique ?
 
Constructor Summary
MetaIndex(java.lang.String index, MetaTable table)
           
 
Method Summary
 java.lang.String toString()
          Show an index name + table
 
Methods inherited from class org.ujorm.orm.AbstractMetaModel
get, changeDefault, checkReadOnly, isFilled, isFilled, readAuthorization, readOnly, setReadOnly, writeValue
 
Methods inherited from class org.ujorm.implementation.quick.QuickUjo
newListProperty, newListProperty, newProperty, newProperty, newProperty, newProperty, newProperty, newProperty, readValue
 
Methods inherited from class org.ujorm.extensions.AbstractUjo
clone, equals, init, init, readProperties, readUjoManager, readValueString, writeValueString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

public static final org.ujorm.extensions.Property<MetaIndex,java.lang.String> NAME
Index database name


TABLE

public static final org.ujorm.extensions.Property<MetaIndex,MetaTable> TABLE
Table


UNIQUE

public static final org.ujorm.extensions.Property<MetaIndex,java.lang.Boolean> UNIQUE
Is the index unique ?


COLUMNS

public static final org.ujorm.extensions.ListProperty<MetaIndex,MetaColumn> COLUMNS
Table Columns

Constructor Detail

MetaIndex

public MetaIndex(java.lang.String index,
                 MetaTable table)
Method Detail

toString

public java.lang.String toString()
Show an index name + table

Overrides:
toString in class org.ujorm.extensions.AbstractUjo


Copyright © 2011. All Rights Reserved.