org.trails.descriptor
Class EmbeddedDescriptor
java.lang.Object
org.trails.descriptor.TrailsDescriptor
org.trails.descriptor.TrailsClassDescriptor
org.trails.descriptor.EmbeddedDescriptor
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, IClassDescriptor, IDescriptor, IExtensible, IIdentifierDescriptor, IPropertyDescriptor
public class EmbeddedDescriptor
- extends TrailsClassDescriptor
- implements IIdentifierDescriptor
- See Also:
- Serialized Form
| Methods inherited from class org.trails.descriptor.TrailsClassDescriptor |
copyPropertyDescriptorsFrom, getHasCyclicRelationships, getIdentifierDescriptor, getMethodDescriptors, getPluralDisplayName, getPropertyDescriptor, getPropertyDescriptors, getPropertyDescriptors, isAllowRemove, isAllowSave, isChild, setAllowRemove, setAllowSave, setChild, setHasCyclicRelationships, setMethodDescriptors, setPropertyDescriptors, toString |
| Methods inherited from class org.trails.descriptor.TrailsDescriptor |
addExtension, addExtension, copyExtensionsFrom, getDisplayName, getExtension, getExtension, getExtensions, getShortDescription, getType, isHidden, removeExtension, removeExtension, setDisplayName, setExtensions, setHidden, setShortDescription, setType, supportsExtension, supportsExtension |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EmbeddedDescriptor
public EmbeddedDescriptor(java.lang.Class beanType,
java.lang.String displayName,
java.lang.Class type)
EmbeddedDescriptor
public EmbeddedDescriptor(java.lang.Class beanType,
IClassDescriptor descriptor)
isNumeric
public boolean isNumeric()
- Specified by:
isNumeric in interface IPropertyDescriptor
- Returns:
isBoolean
public boolean isBoolean()
- Specified by:
isBoolean in interface IPropertyDescriptor
isDate
public boolean isDate()
- Specified by:
isDate in interface IPropertyDescriptor
- Returns:
isString
public boolean isString()
- Specified by:
isString in interface IPropertyDescriptor
- Returns:
isObjectReference
public boolean isObjectReference()
- Specified by:
isObjectReference in interface IPropertyDescriptor
- Returns:
isOwningObjectReference
public boolean isOwningObjectReference()
isEmbedded
public boolean isEmbedded()
- Specified by:
isEmbedded in interface IPropertyDescriptor
getPropertyType
public java.lang.Class getPropertyType()
- Specified by:
getPropertyType in interface IPropertyDescriptor
- Returns:
setPropertyType
public void setPropertyType(java.lang.Class propertyType)
getIndex
public int getIndex()
- Specified by:
getIndex in interface IPropertyDescriptor
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnly in interface IPropertyDescriptor
- Returns:
setReadOnly
public void setReadOnly(boolean readOnly)
- Specified by:
setReadOnly in interface IPropertyDescriptor
- Parameters:
readOnly - The readOnly to set.
setIndex
public void setIndex(int index)
- Specified by:
setIndex in interface IPropertyDescriptor
getName
public java.lang.String getName()
- Specified by:
getName in interface IPropertyDescriptor
- Returns:
setName
public void setName(java.lang.String name)
- Specified by:
setName in interface IPropertyDescriptor
isCollection
public boolean isCollection()
- Specified by:
isCollection in interface IPropertyDescriptor
clone
public java.lang.Object clone()
- Specified by:
clone in interface IDescriptor- Overrides:
clone in class TrailsClassDescriptor
getFormat
public java.lang.String getFormat()
- Specified by:
getFormat in interface IPropertyDescriptor
setFormat
public void setFormat(java.lang.String format)
- Specified by:
setFormat in interface IPropertyDescriptor
isLarge
public boolean isLarge()
- Specified by:
isLarge in interface IPropertyDescriptor
setLarge
public void setLarge(boolean large)
- Specified by:
setLarge in interface IPropertyDescriptor
getLength
public int getLength()
- Specified by:
getLength in interface IPropertyDescriptor
setLength
public void setLength(int length)
- Specified by:
setLength in interface IPropertyDescriptor
isSearchable
public boolean isSearchable()
- Specified by:
isSearchable in interface IPropertyDescriptor
setSearchable
public void setSearchable(boolean searchable)
- Specified by:
setSearchable in interface IPropertyDescriptor
isSummary
public boolean isSummary()
- Specified by:
isSummary in interface IPropertyDescriptor
setSummary
public void setSummary(boolean summary)
- Specified by:
setSummary in interface IPropertyDescriptor
getBeanType
public java.lang.Class getBeanType()
- Specified by:
getBeanType in interface IPropertyDescriptor
setBeanType
public void setBeanType(java.lang.Class beanType)
- Specified by:
setBeanType in interface IPropertyDescriptor
isRichText
public boolean isRichText()
- Specified by:
isRichText in interface IPropertyDescriptor
setRichText
public void setRichText(boolean richText)
- Specified by:
setRichText in interface IPropertyDescriptor
isRequired
public boolean isRequired()
- Specified by:
isRequired in interface IPropertyDescriptor
- Returns:
- Returns the required.
setRequired
public void setRequired(boolean required)
- Specified by:
setRequired in interface IPropertyDescriptor
- Parameters:
required - The required to set.
copyFrom
public void copyFrom(IDescriptor descriptor)
- Overrides:
copyFrom in class TrailsClassDescriptor
isIdentifier
public boolean isIdentifier()
- Specified by:
isIdentifier in interface IPropertyDescriptor
setIdentifier
public void setIdentifier(boolean identifier)
isGenerated
public boolean isGenerated()
- Specified by:
isGenerated in interface IIdentifierDescriptor
setGenerated
public void setGenerated(boolean generated)
- Specified by:
setGenerated in interface IIdentifierDescriptor
Copyright © 2004-2008. All Rights Reserved.