Class PropertyEntry
- java.lang.Object
-
- org.mapstruct.ap.internal.model.beanmapping.PropertyEntry
-
public class PropertyEntry extends Object
A PropertyEntry contains information on the name, readAccessor and presenceCheck (for source) and return type of property.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static PropertyEntry
forSourceReference(String[] name, ReadAccessor readAccessor, PresenceCheckAccessor presenceChecker, Type type)
Constructor used to createSourceReference
property entries from a mappingString
getFullName()
String
getName()
PresenceCheckAccessor
getPresenceChecker()
ReadAccessor
getReadAccessor()
Type
getType()
int
hashCode()
String
toString()
-
-
-
Method Detail
-
forSourceReference
public static PropertyEntry forSourceReference(String[] name, ReadAccessor readAccessor, PresenceCheckAccessor presenceChecker, Type type)
Constructor used to createSourceReference
property entries from a mapping- Parameters:
name
- name of the property (dot separated)readAccessor
- its read accessorpresenceChecker
- its presence Checkertype
- type of the property- Returns:
- the property entry for given parameters.
-
getName
public String getName()
-
getReadAccessor
public ReadAccessor getReadAccessor()
-
getPresenceChecker
public PresenceCheckAccessor getPresenceChecker()
-
getType
public Type getType()
-
getFullName
public String getFullName()
-
-