Package org.javers.core.metamodel.clazz
Class EntityDefinition
java.lang.Object
org.javers.core.metamodel.clazz.ClientsClassDefinition
org.javers.core.metamodel.clazz.EntityDefinition
Recipe for
EntityType- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEntityDefinition(Class<?> entity) Recipe for Entity with Id-property selected by @Id annotationEntityDefinition(Class<?> entity, String idPropertyName) Recipe for Entity with Id-property selected explicitly by nameEntityDefinition(Class<?> entity, String idPropertyName, List<String> ignoredProperties) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanMethods inherited from class org.javers.core.metamodel.clazz.ClientsClassDefinition
equals, getBaseJavaClass, getPropertiesFilter, getTypeName, hashCode, hasTypeName
-
Constructor Details
-
EntityDefinition
Recipe for Entity with Id-property selected by @Id annotation -
EntityDefinition
Recipe for Entity with Id-property selected explicitly by name -
EntityDefinition
-
-
Method Details
-
hasExplicitId
public boolean hasExplicitId() -
getIdPropertyNames
- Returns:
- an immutable, non-null list
-
isShallowReference
public boolean isShallowReference()
-