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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.tynamo.descriptor.TynamoDescriptor
beanType, logger
 
Fields inherited from interface org.tynamo.descriptor.TynamoPropertyDescriptor
DEFAULT_LENGTH
 
Constructor Summary
IdentifierDescriptorImpl(Class beanType, Class type)
           
IdentifierDescriptorImpl(Class beanType, String name, Class type)
           
IdentifierDescriptorImpl(Class beanType, TynamoPropertyDescriptor descriptor)
           
 
Method Summary
 Object clone()
           
 boolean isGenerated()
           
 boolean isIdentifier()
          (non-Javadoc)
 void setGenerated(boolean generated)
           
 
Methods inherited from class org.tynamo.descriptor.TynamoPropertyDescriptorImpl
copyFrom, equals, getFormat, getLength, getName, getPropertyType, hashCode, isBoolean, isCollection, isDate, isEmbedded, isLarge, isNumeric, isObjectReference, isReadOnly, isRequired, isRichText, isSearchable, isString, setFormat, setLarge, setLength, setName, setPropertyType, setReadOnly, setRequired, setRichText, setSearchable
 
Methods inherited from class org.tynamo.descriptor.TynamoDescriptor
addExtension, addExtension, copyExtensionsFrom, getBeanType, getExtension, getExtension, getExtensions, getType, isNonVisual, removeExtension, removeExtension, setBeanType, setExtensions, setNonVisual, supportsExtension, supportsExtension
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.tynamo.descriptor.TynamoPropertyDescriptor
getBeanType, getFormat, getLength, getName, getPropertyType, isBoolean, isCollection, isDate, isEmbedded, isLarge, isNumeric, isObjectReference, isReadOnly, isRequired, isRichText, isSearchable, isString, setBeanType, setFormat, setLarge, setLength, setName, setReadOnly, setRequired, setRichText, setSearchable
 
Methods inherited from interface org.tynamo.descriptor.Descriptor
isNonVisual, setNonVisual
 
Methods inherited from interface org.tynamo.descriptor.extension.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 -

IdentifierDescriptorImpl

public IdentifierDescriptorImpl(Class beanType,
                                String name,
                                Class type)
Method Detail

isIdentifier

public boolean isIdentifier()
(non-Javadoc)

Specified by:
isIdentifier in interface TynamoPropertyDescriptor
Overrides:
isIdentifier in class TynamoPropertyDescriptorImpl
Returns:
Returns the identifier.
See Also:
descriptor.PropertyDescriptor

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