Package org.javers.core.metamodel.type
Class ValueObjectType
java.lang.Object
org.javers.core.metamodel.type.JaversType
org.javers.core.metamodel.type.ManagedType
org.javers.core.metamodel.type.ValueObjectType
ValueObject class in client's domain model.
Has list of mutable properties but no unique identifier.
Two ValueObjects are compared property by property.
Example:
Has list of mutable properties but no unique identifier.
Two ValueObjects are compared property by property.
Example:
class Address {
private String city;
private String street;
private String zip;
...
}
-
Field Summary
Fields inherited from class org.javers.core.metamodel.type.JaversType
DEFAULT_TYPE_PARAMETER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanisInstance(Object cdo) smartToString(Object value) Methods inherited from class org.javers.core.metamodel.type.ManagedType
findProperty, forEachProperty, getProperties, getProperties, getProperty, getPropertyNames, getRawDehydratedType, prettyPrintBuilderMethods inherited from class org.javers.core.metamodel.type.JaversType
buildListOfConcreteTypeArguments, equals, equals, getBaseJavaType, getConcreteClassTypeArguments, getName, hashCode, isGenericType, prettyPrint, spawnConstructorArgs, spawnConstructorArgTypes, toString
-
Constructor Details
-
ValueObjectType
-
-
Method Details
-
canBePrototype
public boolean canBePrototype() -
smartToString
-
isInstance
- Specified by:
isInstancein classJaversType
-
getBaseJavaClass
-