org.tynamo.descriptor
Interface TynamoClassDescriptor

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

public interface TynamoClassDescriptor
extends Descriptor


Method Summary
 boolean getHasCyclicRelationships()
           
 TynamoPropertyDescriptor getIdentifierDescriptor()
           
 List<IMethodDescriptor> getMethodDescriptors()
           
 TynamoPropertyDescriptor getPropertyDescriptor(String name)
           
 List<TynamoPropertyDescriptor> getPropertyDescriptors()
           
 List<TynamoPropertyDescriptor> getPropertyDescriptors(List<String> propertyNames)
           
 Class getType()
           
 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, isHidden, setHidden
 
Methods inherited from interface org.tynamo.descriptor.Extensible
addExtension, addExtension, getExtension, getExtension, getExtensions, removeExtension, removeExtension, supportsExtension, supportsExtension
 

Method Detail

getType

Class getType()

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-2009. All Rights Reserved.