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
           
 
Method Summary
 Class getBeanType()
           
 String getFormat()
           
 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 isTransient()
          Deprecated. 
 void setBeanType(Class beanType)
           
 void setFormat(String format)
           
 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 setTransient(boolean value)
           
 
Methods inherited from interface org.tynamo.descriptor.Descriptor
clone, isNonVisual, setNonVisual
 
Methods inherited from interface org.tynamo.descriptor.extension.Extensible
addExtension, addExtension, getExtension, getExtension, getExtensions, removeExtension, removeExtension, supportsExtension, supportsExtension
 

Field Detail

DEFAULT_LENGTH

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

getPropertyType

Class getPropertyType()
Returns:

isNumeric

boolean isNumeric()
Returns:

isBoolean

boolean isBoolean()

isDate

boolean isDate()
Returns:

isString

boolean isString()
Returns:

isObjectReference

boolean isObjectReference()
Returns:

isTransient

@Deprecated
boolean isTransient()
Deprecated. 

Returns:
is transient
Since:
0.4.0

setTransient

void setTransient(boolean value)
Parameters:
transient - The transietn to set.

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)

isCollection

boolean isCollection()

isEmbedded

boolean isEmbedded()

isRichText

boolean isRichText()

isIdentifier

boolean isIdentifier()

setRichText

void setRichText(boolean richText)

getBeanType

Class getBeanType()

setBeanType

void setBeanType(Class beanType)


Copyright © 2004-2012. All Rights Reserved.