public class Property extends Object implements Serializable, MetaAttributable
Constructor and Description |
---|
Property() |
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 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 © 2016 JBoss by Red Hat. All rights reserved.