public class PropertyEntry extends Object
Modifier and Type | Method and Description |
---|---|
static PropertyEntry |
forSourceReference(String name,
ExecutableElement readAccessor,
ExecutableElement presenceChecker,
Type type)
Constructor used to create
SourceReference property entries from a mapping |
static PropertyEntry |
forTargetReference(String[] fullName,
ExecutableElement readAccessor,
ExecutableElement writeAccessor,
Type type)
Constructor used to create
TargetReference property entries |
String |
getFullName() |
String |
getName() |
ExecutableElement |
getPresenceChecker() |
ExecutableElement |
getReadAccessor() |
Type |
getType() |
ExecutableElement |
getWriteAccessor() |
public static PropertyEntry forTargetReference(String[] fullName, ExecutableElement readAccessor, ExecutableElement 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, ExecutableElement readAccessor, ExecutableElement 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 ExecutableElement getReadAccessor()
public ExecutableElement getWriteAccessor()
public ExecutableElement getPresenceChecker()
public Type getType()
public String getFullName()
Copyright © 2012-2016 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.