public class Property extends Object implements Serializable, MetaAttributable
| Constructor and Description | 
|---|
| Property() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getAccessorPropertyName(EntityMode mode) | 
| String | getCascade() | 
| CascadeStyle | getCascadeStyle() | 
| Iterator | getColumnIterator() | 
| int | getColumnSpan() | 
| PropertyGeneration | getGeneration() | 
| Getter | getGetter(Class clazz) | 
| MetaAttribute | getMetaAttribute(String attributeName) | 
| Map | getMetaAttributes() | 
| String | getName() | 
| String | getNodeName() | 
| PersistentClass | getPersistentClass() | 
| PropertyAccessor | getPropertyAccessor(Class clazz) | 
| String | getPropertyAccessorName() | 
| Setter | getSetter(Class clazz) | 
| Type | getType() | 
| Value | getValue() | 
| boolean | isBackRef() | 
| boolean | isBasicPropertyAccessor() | 
| boolean | isComposite() | 
| boolean | isInsertable() | 
| boolean | isLazy() | 
| boolean | isNaturalIdentifier() | 
| boolean | isOptimisticLocked() | 
| boolean | isOptional() | 
| boolean | isPrimitive(Class clazz) | 
| boolean | isSelectable() | 
| boolean | isSynthetic()Does this property represent a synthetic property?  A synthetic property is one we create during
 metamodel binding to represent a collection of columns but which does not represent a property
 physically available on the entity. | 
| boolean | isUpdateable() | 
| boolean | isValid(Mapping mapping) | 
| void | setCascade(String cascade) | 
| void | setGeneration(PropertyGeneration generation) | 
| void | setInsertable(boolean insertable) | 
| void | setLazy(boolean lazy) | 
| void | setMetaAttributes(Map metas) | 
| void | setName(String name) | 
| void | setNaturalIdentifier(boolean naturalIdentifier) | 
| void | setNodeName(String nodeName) | 
| void | setOptimisticLocked(boolean optimisticLocked) | 
| void | setOptional(boolean optional) | 
| void | setPersistentClass(PersistentClass persistentClass) | 
| void | setPropertyAccessorName(String string) | 
| void | setSelectable(boolean selectable) | 
| void | setUpdateable(boolean mutable) | 
| void | setValue(Value value) | 
| String | toString() | 
public boolean isBackRef()
public boolean isSynthetic()
public Type getType() throws MappingException
MappingExceptionpublic int getColumnSpan()
public Iterator getColumnIterator()
public String getName()
public boolean isComposite()
public Value getValue()
public boolean isPrimitive(Class clazz)
public CascadeStyle getCascadeStyle() throws MappingException
MappingExceptionpublic String getCascade()
public void setCascade(String cascade)
public void setName(String name)
public void setValue(Value value)
public boolean isUpdateable()
public boolean isInsertable()
public PropertyGeneration getGeneration()
public void setGeneration(PropertyGeneration generation)
public void setUpdateable(boolean mutable)
public void setInsertable(boolean insertable)
public String getPropertyAccessorName()
public void setPropertyAccessorName(String string)
public boolean isBasicPropertyAccessor()
public Map getMetaAttributes()
getMetaAttributes in interface MetaAttributablepublic MetaAttribute getMetaAttribute(String attributeName)
getMetaAttribute in interface MetaAttributablepublic void setMetaAttributes(Map metas)
setMetaAttributes in interface MetaAttributablepublic boolean isValid(Mapping mapping) throws MappingException
MappingExceptionpublic void setLazy(boolean lazy)
public boolean isLazy()
public boolean isOptimisticLocked()
public void setOptimisticLocked(boolean optimisticLocked)
public boolean isOptional()
public void setOptional(boolean optional)
public PersistentClass getPersistentClass()
public void setPersistentClass(PersistentClass persistentClass)
public boolean isSelectable()
public void setSelectable(boolean selectable)
public String getNodeName()
public void setNodeName(String nodeName)
public String getAccessorPropertyName(EntityMode mode)
public Getter getGetter(Class clazz) throws PropertyNotFoundException, MappingException
public Setter getSetter(Class clazz) throws PropertyNotFoundException, MappingException
public PropertyAccessor getPropertyAccessor(Class clazz) throws MappingException
MappingExceptionpublic boolean isNaturalIdentifier()
public void setNaturalIdentifier(boolean naturalIdentifier)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.