Interface PersistentPropertyCharacteristics
@API(status=STABLE,
since="6.3.7")
public interface PersistentPropertyCharacteristics
The characteristics of a
Neo4jPersistentProperty
can diverge from what is by default derived from the annotated
classes. Diverging characteristics are requested by the Neo4jMappingContext
prior to creating a persistent property.
Additional providers of characteristics may be registered with the mapping context.- Since:
- 6.3.7
- Author:
- Michael J. Simons
-
Method Details
-
isTransient
- Returns:
- null to leave the defaults, true or false otherwise
-
isReadOnly
- Returns:
- null to leave the defaults, true or false otherwise
-
useDefaults
- Returns:
- Characteristics applying the defaults
-
treatAsTransient
- Returns:
- Characteristics to treat a property as transient
-
treatAsReadOnly
- Returns:
- Characteristics to treat a property as transient
-