org.tynamo.descriptor
Interface TynamoPropertyDescriptor

All Superinterfaces:
Cloneable, Descriptor, Extensible
All Known Subinterfaces:
IdentifierDescriptor
All Known Implementing Classes:
CollectionDescriptor, EmbeddedDescriptor, IdentifierDescriptorImpl, ObjectReferenceDescriptor, TynamoPropertyDescriptorImpl

public interface TynamoPropertyDescriptor
extends Descriptor


Field Summary
static int DEFAULT_LENGTH
           
static int UNDEFINED_INDEX
           
 
Method Summary
 Class getBeanType()
           
 String getFormat()
           
 int getIndex()
           
 int getLength()
           
 String getName()
           
 Class getPropertyType()
           
 boolean isBoolean()
           
 boolean isCollection()
           
 boolean isDate()
           
 boolean isEmbedded()
           
 boolean isIdentifier()
           
 boolean isLarge()
           
 boolean isNumeric()
           
 boolean isObjectReference()
           
 boolean isReadOnly()
           
 boolean isRequired()
           
 boolean isRichText()
           
 boolean isSearchable()
           
 boolean isString()
           
 boolean isSummary()
           
 void setBeanType(Class beanType)
           
 void setFormat(String format)
           
 void setIndex(int index)
           
 void setLarge(boolean Large)
           
 void setLength(int length)
           
 void setName(String name)
           
 void setReadOnly(boolean readOnly)
           
 void setRequired(boolean required)
           
 void setRichText(boolean richText)
           
 void setSearchable(boolean searchable)
           
 void setSummary(boolean summary)
           
 
Methods inherited from interface org.tynamo.descriptor.Descriptor
clone, isHidden, setHidden
 
Methods inherited from interface org.tynamo.descriptor.Extensible
addExtension, addExtension, getExtension, getExtension, getExtensions, removeExtension, removeExtension, supportsExtension, supportsExtension
 

Field Detail

UNDEFINED_INDEX

static final int UNDEFINED_INDEX
See Also:
Constant Field Values

DEFAULT_LENGTH

static final int DEFAULT_LENGTH
See Also:
Constant Field Values
Method Detail

setIndex

void setIndex(int index)

getIndex

int getIndex()

getPropertyType

Class getPropertyType()
Returns:

isNumeric

boolean isNumeric()
Returns:

isBoolean

boolean isBoolean()

isDate

boolean isDate()
Returns:

isString

boolean isString()
Returns:

isObjectReference

boolean isObjectReference()
Returns:

isRequired

boolean isRequired()
Returns:
Returns the required.

setRequired

void setRequired(boolean required)
Parameters:
required - The required to set.

isReadOnly

boolean isReadOnly()
Returns:

setReadOnly

void setReadOnly(boolean readOnly)
Parameters:
readOnly - The readOnly to set.

getName

String getName()
Returns:

setName

void setName(String name)

getLength

int getLength()

setLength

void setLength(int length)

isLarge

boolean isLarge()

setLarge

void setLarge(boolean Large)

getFormat

String getFormat()

setFormat

void setFormat(String format)

isSearchable

boolean isSearchable()

setSearchable

void setSearchable(boolean searchable)

isSummary

boolean isSummary()

isCollection

boolean isCollection()

setSummary

void setSummary(boolean summary)

isEmbedded

boolean isEmbedded()

isRichText

boolean isRichText()

isIdentifier

boolean isIdentifier()

setRichText

void setRichText(boolean richText)

getBeanType

Class getBeanType()

setBeanType

void setBeanType(Class beanType)


Copyright © 2004-2009. All Rights Reserved.