public class PropertyEntry extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static PropertyEntry |
forSourceReference(String name,
Accessor readAccessor,
ExecutableElementAccessor presenceChecker,
Type type)
Constructor used to create
SourceReference property entries from a mapping |
static PropertyEntry |
forTargetReference(String[] fullName,
Accessor readAccessor,
Accessor writeAccessor,
Type type)
Constructor used to create
TargetReference property entries |
String |
getFullName() |
String |
getName() |
ExecutableElementAccessor |
getPresenceChecker() |
Accessor |
getReadAccessor() |
Type |
getType() |
Accessor |
getWriteAccessor() |
int |
hashCode() |
PropertyEntry |
pop() |
String |
toString() |
public static PropertyEntry forTargetReference(String[] fullName, Accessor readAccessor, Accessor writeAccessor, Type type)
TargetReference
property entriesfullName
- name of the property (dot separated)readAccessor
- its read accessorwriteAccessor
- its write accessortype
- type of the propertypublic static PropertyEntry forSourceReference(String name, Accessor readAccessor, ExecutableElementAccessor presenceChecker, Type type)
SourceReference
property entries from a mappingname
- name of the property (dot separated)readAccessor
- its read accessorpresenceChecker
- its presence Checkertype
- type of the propertypublic String getName()
public Accessor getReadAccessor()
public Accessor getWriteAccessor()
public ExecutableElementAccessor getPresenceChecker()
public Type getType()
public String getFullName()
public PropertyEntry pop()
Copyright © 2012-2017 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.