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() |
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() |
ValueGeneration |
getValueGenerationStrategy() |
boolean |
isBackRef() |
boolean |
isBasicPropertyAccessor() |
boolean |
isComposite() |
boolean |
isInsertable() |
boolean |
isLazy() |
boolean |
isLob() |
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 |
setInsertable(boolean insertable) |
void |
setLazy(boolean lazy) |
void |
setLob(boolean lob) |
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) |
void |
setValueGenerationStrategy(ValueGeneration valueGenerationStrategy) |
String |
toString() |
public boolean isBackRef()
public boolean isSynthetic()
public Type getType() throws MappingException
MappingException
public int getColumnSpan()
public Iterator getColumnIterator()
public String getName()
public boolean isComposite()
public Value getValue()
public boolean isPrimitive(Class clazz)
public CascadeStyle getCascadeStyle() throws MappingException
MappingException
public String getCascade()
public void setCascade(String cascade)
public void setName(String name)
public void setValue(Value value)
public boolean isUpdateable()
public boolean isInsertable()
public ValueGeneration getValueGenerationStrategy()
public void setValueGenerationStrategy(ValueGeneration valueGenerationStrategy)
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 MetaAttributable
public MetaAttribute getMetaAttribute(String attributeName)
getMetaAttribute
in interface MetaAttributable
public void setMetaAttributes(Map metas)
setMetaAttributes
in interface MetaAttributable
public boolean isValid(Mapping mapping) throws MappingException
MappingException
public 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
MappingException
public boolean isNaturalIdentifier()
public void setNaturalIdentifier(boolean naturalIdentifier)
public boolean isLob()
public void setLob(boolean lob)
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.