org.tynamo.descriptor
Interface TynamoClassDescriptor

All Superinterfaces:
Cloneable, Descriptor, Extensible
All Known Implementing Classes:
EmbeddedDescriptor, TynamoClassDescriptorImpl

public interface TynamoClassDescriptor
extends Descriptor


Method Summary
 Class getBeanType()
          Returns the type of bean to which this property belongs.
 boolean getHasCyclicRelationships()
           
 TynamoPropertyDescriptor getIdentifierDescriptor()
           
 List<IMethodDescriptor> getMethodDescriptors()
           
 TynamoPropertyDescriptor getPropertyDescriptor(String name)
           
 List<TynamoPropertyDescriptor> getPropertyDescriptors()
           
 List<TynamoPropertyDescriptor> getPropertyDescriptors(List<String> propertyNames)
           
 boolean isAllowRemove()
           
 boolean isAllowSave()
           
 boolean isChild()
           
 void setAllowRemove(boolean allowRemove)
           
 void setAllowSave(boolean allowSave)
           
 void setChild(boolean child)
           
 void setHasCyclicRelationships(boolean hasBidirectionalRelationship)
           
 void setMethodDescriptors(List<IMethodDescriptor> methodDescriptors)
           
 void setPropertyDescriptors(List<TynamoPropertyDescriptor> propertyDescriptors)
           
 
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
 

Method Detail

getBeanType

Class getBeanType()
Returns the type of bean to which this property belongs.


getMethodDescriptors

List<IMethodDescriptor> getMethodDescriptors()
Returns:
Returns the methodDescriptors.

setMethodDescriptors

void setMethodDescriptors(List<IMethodDescriptor> methodDescriptors)
Parameters:
methodDescriptors - The methodDescriptors to set.

getPropertyDescriptors

List<TynamoPropertyDescriptor> getPropertyDescriptors()
Returns:
Returns the propertyDescriptors.

setPropertyDescriptors

void setPropertyDescriptors(List<TynamoPropertyDescriptor> propertyDescriptors)
Parameters:
propertyDescriptors - The propertyDescriptors to set.

getIdentifierDescriptor

TynamoPropertyDescriptor getIdentifierDescriptor()

getPropertyDescriptor

TynamoPropertyDescriptor getPropertyDescriptor(String name)
Parameters:
string -
Returns:

isChild

boolean isChild()
Returns:

setChild

void setChild(boolean child)
Parameters:
-

getPropertyDescriptors

List<TynamoPropertyDescriptor> getPropertyDescriptors(List<String> propertyNames)

isAllowSave

boolean isAllowSave()

setAllowSave

void setAllowSave(boolean allowSave)

isAllowRemove

boolean isAllowRemove()

setAllowRemove

void setAllowRemove(boolean allowRemove)

getHasCyclicRelationships

boolean getHasCyclicRelationships()

setHasCyclicRelationships

void setHasCyclicRelationships(boolean hasBidirectionalRelationship)


Copyright © 2004-2012. All Rights Reserved.