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) |
String |
getLazyGroup() |
MetaAttribute |
getMetaAttribute(String attributeName) |
Map |
getMetaAttributes() |
String |
getName() |
PersistentClass |
getPersistentClass() |
String |
getPropertyAccessorName() |
PropertyAccessStrategy |
getPropertyAccessStrategy(Class clazz) |
Setter |
getSetter(Class clazz) |
Type |
getType() |
Value |
getValue() |
ValueGeneration |
getValueGenerationStrategy() |
boolean |
isBackRef() |
boolean |
isBasicPropertyAccessor() |
boolean |
isComposite() |
boolean |
isInsertable() |
boolean |
isLazy()
Is this property lazy in the "bytecode" sense?
Lazy here means whether we should push *something* to the entity
instance for this field in its "base fetch group".
|
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) |
protected ServiceRegistry |
resolveServiceRegistry() |
void |
setCascade(String cascade) |
void |
setInsertable(boolean insertable) |
void |
setLazy(boolean lazy) |
void |
setLazyGroup(String lazyGroup) |
void |
setLob(boolean lob) |
void |
setMetaAttributes(Map metas) |
void |
setName(String name) |
void |
setNaturalIdentifier(boolean naturalIdentifier) |
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 String getLazyGroup()
public void setLazyGroup(String lazyGroup)
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 getAccessorPropertyName(EntityMode mode)
public Getter getGetter(Class clazz) throws PropertyNotFoundException, MappingException
public Setter getSetter(Class clazz) throws PropertyNotFoundException, MappingException
public PropertyAccessStrategy getPropertyAccessStrategy(Class clazz) throws MappingException
MappingException
protected ServiceRegistry resolveServiceRegistry()
public boolean isNaturalIdentifier()
public void setNaturalIdentifier(boolean naturalIdentifier)
public boolean isLob()
public void setLob(boolean lob)
Copyright © 2020 JBoss by Red Hat. All rights reserved.