org.ujoframework.orm.metaModel
Class MetaIndex

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

public final class MetaIndex
extends AbstractMetaModel

DB index metamodel.

Author:
Pavel Ponec
See Also:
Serialized Form

Field Summary
static ListProperty<MetaIndex,MetaColumn> COLUMNS
          Table Columns
static Property<MetaIndex,java.lang.String> NAME
          Index database name
static Property<MetaIndex,MetaTable> TABLE
          Table
static 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.ujoframework.orm.AbstractMetaModel
get, changeDefault, checkReadOnly, isUsable, isUsable, readAuthorization, readOnly, setReadOnly, writeValue
 
Methods inherited from class org.ujoframework.implementation.quick.QuickUjo
newListProperty, newListProperty, newProperty, newProperty, newProperty, newProperty, newProperty, newProperty, readValue
 
Methods inherited from class org.ujoframework.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 Property<MetaIndex,java.lang.String> NAME
Index database name


TABLE

public static final Property<MetaIndex,MetaTable> TABLE
Table


UNIQUE

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


COLUMNS

public static final 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 AbstractUjo


Copyright © 2010. All Rights Reserved.