Attribute.AttributeType, Attribute.MappingType, Attribute.MemberType
Modifier and Type | Method and Description |
---|---|
AttributeFilterMapping |
getFilter(String filterName)
Returns the attribute filter mapping of this attribute with the given name.
|
Set<AttributeFilterMapping> |
getFilters()
Returns the attribute filter mappings of this attribute.
|
InverseRemoveStrategy |
getInverseRemoveStrategy()
Returns the inverse remove strategy if this is an inverse mapped attribute.
|
Method |
getJavaMethod()
Returns the getter java method of this attribute.
|
String |
getMappedBy()
Returns the path by which the target type is mapped by.
|
String |
getName()
Returns the name of this attribute.
|
Set<Type<?>> |
getPersistCascadeAllowedSubtypes()
Returns the subtypes that are allowed to be used when cascading
CascadeType.PERSIST events. |
Set<Type<?>> |
getUpdateCascadeAllowedSubtypes()
Returns the subtypes that are allowed to be used when cascading
CascadeType.UPDATE events. |
boolean |
isDeleteCascaded()
Returns whether delete cascading for referenced objects should be done.
|
boolean |
isMutable()
Returns whether the attribute is mutable.
|
boolean |
isOptimisticLockProtected()
Returns whether the attribute is protected by optimistic locking.
|
boolean |
isOrphanRemoval()
Returns whether orphaned objects should be deleted during an update.
|
boolean |
isPersistCascaded()
Returns whether the persisting of referenced objects is allowed.
|
boolean |
isUpdatable()
Returns whether the attribute is updatable.
|
boolean |
isUpdateCascaded()
Returns whether the updating of referenced objects is allowed.
|
getAttributeType, getBatchSize, getConvertedJavaType, getDeclaringType, getFetches, getFetchStrategy, getJavaType, getMappingType, getMemberType, isCollection, isCorrelated, isSubquery, isSubview
String getName()
String getMappedBy()
InverseRemoveStrategy getInverseRemoveStrategy()
boolean isUpdatable()
boolean isMutable()
boolean isOptimisticLockProtected()
boolean isPersistCascaded()
boolean isUpdateCascaded()
boolean isDeleteCascaded()
boolean isOrphanRemoval()
Set<Type<?>> getPersistCascadeAllowedSubtypes()
CascadeType.PERSIST
events.Set<Type<?>> getUpdateCascadeAllowedSubtypes()
CascadeType.UPDATE
events.Method getJavaMethod()
AttributeFilterMapping getFilter(String filterName)
filterName
- The name of the attribute filter mapping which should be returnedSet<AttributeFilterMapping> getFilters()
Copyright © 2014–2018 Blazebit. All rights reserved.