org.tynamo.descriptor
Class IdentifierDescriptorImpl

java.lang.Object
  extended by org.tynamo.descriptor.TynamoDescriptor
      extended by org.tynamo.descriptor.TynamoPropertyDescriptorImpl
          extended by org.tynamo.descriptor.IdentifierDescriptorImpl
All Implemented Interfaces:
Serializable, Cloneable, Descriptor, Extensible, IdentifierDescriptor, TynamoPropertyDescriptor

public class IdentifierDescriptorImpl
extends TynamoPropertyDescriptorImpl
implements IdentifierDescriptor

Author:
fus8882

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.tynamo.descriptor.TynamoDescriptor
LOG, type
 
Fields inherited from interface org.tynamo.descriptor.TynamoPropertyDescriptor
DEFAULT_LENGTH, UNDEFINED_INDEX
 
Constructor Summary
IdentifierDescriptorImpl(Class beanType, Class type)
           
IdentifierDescriptorImpl(Class beanType, TynamoPropertyDescriptor descriptor)
           
 
Method Summary
 Object clone()
           
 boolean isGenerated()
           
 boolean isIdentifier()
           
 void setGenerated(boolean generated)
           
 
Methods inherited from class org.tynamo.descriptor.TynamoPropertyDescriptorImpl
copyFrom, equals, getBeanType, getFormat, getIndex, getLength, getName, getPropertyType, isBoolean, isCollection, isDate, isEmbedded, isLarge, isNumeric, isObjectReference, isReadOnly, isRequired, isRichText, isSearchable, isString, isSummary, setBeanType, setFormat, setIndex, setLarge, setLength, setName, setReadOnly, setRequired, setRichText, setSearchable, setSummary
 
Methods inherited from class org.tynamo.descriptor.TynamoDescriptor
addExtension, addExtension, copyExtensionsFrom, getExtension, getExtension, getExtensions, getType, isHidden, removeExtension, removeExtension, setExtensions, setHidden, setType, supportsExtension, supportsExtension
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.tynamo.descriptor.TynamoPropertyDescriptor
getBeanType, getFormat, getIndex, getLength, getName, getPropertyType, isBoolean, isCollection, isDate, isEmbedded, isLarge, isNumeric, isObjectReference, isReadOnly, isRequired, isRichText, isSearchable, isString, isSummary, setBeanType, setFormat, setIndex, setLarge, setLength, setName, setReadOnly, setRequired, setRichText, setSearchable, setSummary
 
Methods inherited from interface org.tynamo.descriptor.Descriptor
isHidden, setHidden
 
Methods inherited from interface org.tynamo.descriptor.Extensible
addExtension, addExtension, getExtension, getExtension, getExtensions, removeExtension, removeExtension, supportsExtension, supportsExtension
 

Constructor Detail

IdentifierDescriptorImpl

public IdentifierDescriptorImpl(Class beanType,
                                TynamoPropertyDescriptor descriptor)

IdentifierDescriptorImpl

public IdentifierDescriptorImpl(Class beanType,
                                Class type)
Parameters:
realDescriptor -
Method Detail

isIdentifier

public boolean isIdentifier()
Specified by:
isIdentifier in interface TynamoPropertyDescriptor
Overrides:
isIdentifier in class TynamoPropertyDescriptorImpl
Returns:
Returns the identifier.

isGenerated

public boolean isGenerated()
Specified by:
isGenerated in interface IdentifierDescriptor
Returns:
Returns the generated.

setGenerated

public void setGenerated(boolean generated)
Specified by:
setGenerated in interface IdentifierDescriptor
Parameters:
generated - The generated to set.

clone

public Object clone()
Specified by:
clone in interface Descriptor
Overrides:
clone in class TynamoPropertyDescriptorImpl


Copyright © 2004-2009. All Rights Reserved.