org.caleigo.core.meta
Class MetaEntityDescriptor

java.lang.Object
  extended byorg.caleigo.core.AbstractEntityDescriptor
      extended byorg.caleigo.core.meta.AbstractMetaEntityDescriptor
          extended byorg.caleigo.core.meta.MetaEntityDescriptor
All Implemented Interfaces:
IEntityDescriptor, java.io.Serializable

public class MetaEntityDescriptor
extends AbstractMetaEntityDescriptor

MetaEntityDescriptor is the descriptor for MetaEntityDescriptorEntity objects.

Version:
1.0.0
Author:
dennis
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.caleigo.core.AbstractEntityDescriptor
AbstractEntityDescriptor.DeleteEntityAction, AbstractEntityDescriptor.Dezerializer, AbstractEntityDescriptor.StoreEntityAction
 
Field Summary
static IFieldDescriptor CacheTime
          The CacheTime field (index=5) has the data type INTEGER.
static IFieldDescriptor CodeName
          The CodeName field (index=1) has the data type STRING(50).
static IFieldDescriptor Creatable
          The Creatable field (index=6) has the data type BOOLEAN.
static IFieldDescriptor DataSource
          The DataSource field (index=9) has the data type STRING(50).
static IFieldDescriptor Deletable
          The Deletable field (index=8) has the data type BOOLEAN.
static IFieldDescriptor DisplayName
          The DisplayName field (index=2) has the data type STRING(50).
static IFieldDescriptor Editable
          The Editable field (index=7) has the data type BOOLEAN.
static IFieldDescriptor EntityType
          The EntityType field (index=3) has the data type INTEGER.
static MetaEntityDescriptor instance
          The singleton instance for the MetaEntityDescriptor entity descriptor.
static IFieldDescriptor SizeType
          The SizeType field (index=4) has the data type INTEGER.
static IFieldDescriptor SourceName
          The SourceName field (index=0) has the data type STRING(50).
 
Fields inherited from class org.caleigo.core.AbstractEntityDescriptor
CACHEABLE, CREATABLE, DELETABLE, EDITABLE, LISTABLE, SCANABLE, SELECTABLE
 
Fields inherited from interface org.caleigo.core.IEntityDescriptor
CUSTOM_ENTITY, DELETE_ACTION, LINK_ENTITY, MASTER_ENTITY, NO_TIME_LIMIT, SLAVE_ENTITY, STATIC_ENTITY, STORE_ACTION
 
Method Summary
static MetaEntityDescriptorEntity create()
          Creates a new MetaEntityDescriptorEntity with default values set
static MetaEntityDescriptorEntity create(IDataProvider propertySource)
          Creates a new MetaEntityDescriptorEntity, setting any field values avaivlable from the provided IDataProvider.
static MetaEntityDescriptorEntity load(Qualifier identityQualifier)
          Loads a single MetaEntityDescriptorEntity instance identified by by the provided identity-qualifier from the default data source.
static MetaEntityDescriptorEntity load(java.lang.String aSourceName)
          Loads a single MetaEntityDescriptorEntity instance identified by by the provided identity field values from the default data source.
 
Methods inherited from class org.caleigo.core.AbstractEntityDescriptor
addEntityAction, contains, createCalculatedFieldDescriptors, createDeleteAction, createEntity, createEntity, createEntityRelation, createEntityRelation, createEntityRelation, createFieldDescriptor, createFieldRelation, createStoreAction, defineEntityActions, getAction, getAction, getActionCount, getActions, getCacheTime, getCodeName, getDataFieldCount, getDataSourceDescriptor, getDisplayName, getEntityClass, getEntityRelation, getEntityRelationCount, getEntityRelationIndex, getEntityRelations, getEntityType, getFieldCount, getFieldDescriptor, getFieldDescriptor, getFieldDescriptors, getFieldIndex, getFieldIndex, getHomeClass, getJNDIName, getNaturalOrder, getRemoteClass, getSourceName, isCacheable, isCreatable, isDeletable, isEditable, isListable, isScanable, isSelectable, loadEntity, loadSelection, setCacheTime, setFlags, toString, writeReplace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

instance

public static final MetaEntityDescriptor instance
The singleton instance for the MetaEntityDescriptor entity descriptor. Access it as MetaEntityDescriptor.instance anywhere in the code.


SourceName

public static final IFieldDescriptor SourceName
The SourceName field (index=0) has the data type STRING(50). SourceName is a required identity field.


CodeName

public static final IFieldDescriptor CodeName
The CodeName field (index=1) has the data type STRING(50). CodeName is a required field.


DisplayName

public static final IFieldDescriptor DisplayName
The DisplayName field (index=2) has the data type STRING(50). DisplayName is a required field.


EntityType

public static final IFieldDescriptor EntityType
The EntityType field (index=3) has the data type INTEGER. EntityType is a required field.


SizeType

public static final IFieldDescriptor SizeType
The SizeType field (index=4) has the data type INTEGER. SizeType is a required field.


CacheTime

public static final IFieldDescriptor CacheTime
The CacheTime field (index=5) has the data type INTEGER. CacheTime is a required field.


Creatable

public static final IFieldDescriptor Creatable
The Creatable field (index=6) has the data type BOOLEAN. Creatable is a required field.


Editable

public static final IFieldDescriptor Editable
The Editable field (index=7) has the data type BOOLEAN. Editable is a required field.


Deletable

public static final IFieldDescriptor Deletable
The Deletable field (index=8) has the data type BOOLEAN. Deletable is a required field.


DataSource

public static final IFieldDescriptor DataSource
The DataSource field (index=9) has the data type STRING(50). DataSource is a required field.

Method Detail

create

public static MetaEntityDescriptorEntity create()
Creates a new MetaEntityDescriptorEntity with default values set


create

public static MetaEntityDescriptorEntity create(IDataProvider propertySource)
Creates a new MetaEntityDescriptorEntity, setting any field values avaivlable from the provided IDataProvider.


load

public static MetaEntityDescriptorEntity load(java.lang.String aSourceName)
Loads a single MetaEntityDescriptorEntity instance identified by by the provided identity field values from the default data source. Returns null if no entity could be identified by field values.


load

public static MetaEntityDescriptorEntity load(Qualifier identityQualifier)
Loads a single MetaEntityDescriptorEntity instance identified by by the provided identity-qualifier from the default data source. Returns null if no entity could be identified by the provided qualifier.



Copyright © 2005 Caleigo. All Rights Reserved.