org.trails.descriptor
Interface IPropertyDescriptor

All Superinterfaces:
java.lang.Cloneable, IDescriptor, IExtensible
All Known Subinterfaces:
IIdentifierDescriptor
All Known Implementing Classes:
CollectionDescriptor, EmbeddedDescriptor, IdentifierDescriptor, ObjectReferenceDescriptor, TrailsPropertyDescriptor

public interface IPropertyDescriptor
extends IDescriptor

Author:
fus8882

TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates


Field Summary
static int DEFAULT_LENGTH
           
static int UNDEFINED_INDEX
           
 
Method Summary
 java.lang.Class getBeanType()
           
 java.lang.String getFormat()
           
 int getIndex()
           
 int getLength()
           
 java.lang.String getName()
           
 java.lang.Class getPropertyType()
           
 java.lang.String getShortDescription()
           
 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(java.lang.Class beanType)
           
 void setFormat(java.lang.String format)
           
 void setIndex(int index)
           
 void setLarge(boolean Large)
           
 void setLength(int length)
           
 void setName(java.lang.String name)
           
 void setReadOnly(boolean readOnly)
           
 void setRequired(boolean required)
           
 void setRichText(boolean richText)
           
 void setSearchable(boolean searchable)
           
 void setShortDescription(java.lang.String shortDescription)
           
 void setSummary(boolean summary)
           
 
Methods inherited from interface org.trails.descriptor.IDescriptor
clone, getDisplayName, isHidden, setDisplayName, setHidden
 
Methods inherited from interface org.trails.descriptor.IExtensible
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

java.lang.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

java.lang.String getName()
Returns:

setName

void setName(java.lang.String name)

getShortDescription

java.lang.String getShortDescription()
Returns:

setShortDescription

void setShortDescription(java.lang.String shortDescription)

getLength

int getLength()

setLength

void setLength(int length)

isLarge

boolean isLarge()

setLarge

void setLarge(boolean Large)

getFormat

java.lang.String getFormat()

setFormat

void setFormat(java.lang.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

java.lang.Class getBeanType()

setBeanType

void setBeanType(java.lang.Class beanType)


Copyright © 2004-2008. All Rights Reserved.