org.caleigo.core.meta
Class CustomFieldDescriptor

java.lang.Object
  extended byorg.caleigo.core.FieldDescriptor
      extended byorg.caleigo.core.meta.CustomFieldDescriptor
All Implemented Interfaces:
IFieldDescriptor, java.io.Serializable

class CustomFieldDescriptor
extends FieldDescriptor

Version:
1.0
Author:
Mattias Hagstrand

Nested Class Summary
protected static class CustomFieldDescriptor.Dezerializer
           
 
Nested classes inherited from class org.caleigo.core.FieldDescriptor
FieldDescriptor.FieldRelationIterator
 
Field Summary
 
Fields inherited from interface org.caleigo.core.IFieldDescriptor
AUTOGEN, HIDDEN_FIELD, HINT_FIELD, IDENTITY_FIELD, INDEXED, NAME_FIELD, NATURAL_ORDER, OVERVIEW_FIELD, READ_ONLY_FIELD, REQUIRED
 
Constructor Summary
CustomFieldDescriptor(java.lang.String codeName, java.lang.String sourceName, java.lang.String displayName, DataType dataType, int length, int flags, java.lang.Object defValue)
           
 
Method Summary
 IEntityDescriptor getEntityDescriptor()
          Access method that returns the entity descriptor that the described field is part of.
 void setEntityDescriptor(IEntityDescriptor entityDescriptor)
           
protected  java.lang.Object writeReplace()
           
 
Methods inherited from class org.caleigo.core.FieldDescriptor
addValidator, canValidate, getCodeName, getDataType, getDefaultValue, getDisplayName, getFieldRelations, getLength, getReferenceFieldRelation, getSourceName, isAutoGenerated, isHiddenField, isHintField, isIdentityField, isIndexed, isNameField, isNaturalOrder, isOverviewField, isReadOnly, isReferenceField, isRequired, performBaseValidation, toString, validateData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CustomFieldDescriptor

public CustomFieldDescriptor(java.lang.String codeName,
                             java.lang.String sourceName,
                             java.lang.String displayName,
                             DataType dataType,
                             int length,
                             int flags,
                             java.lang.Object defValue)
Method Detail

getEntityDescriptor

public IEntityDescriptor getEntityDescriptor()
Description copied from interface: IFieldDescriptor
Access method that returns the entity descriptor that the described field is part of.

Specified by:
getEntityDescriptor in interface IFieldDescriptor
Overrides:
getEntityDescriptor in class FieldDescriptor

setEntityDescriptor

public void setEntityDescriptor(IEntityDescriptor entityDescriptor)

writeReplace

protected java.lang.Object writeReplace()
                                 throws java.io.ObjectStreamException
Overrides:
writeReplace in class FieldDescriptor
Throws:
java.io.ObjectStreamException


Copyright © 2005 Caleigo. All Rights Reserved.