name.pehl.piriti.rebind.property
Class PropertyContext
java.lang.Object
name.pehl.piriti.rebind.property.PropertyContext
public class PropertyContext
- extends Object
Class which contains information needed to generate code for the evaluation,
conversion and assignment of one property.
- Version:
- $LastChangedRevision: 140 $
- Author:
- $LastChangedBy: harald.pehl $
PropertyContext
public PropertyContext(PropertySource propertySource,
Map<name.pehl.piriti.rebind.property.PropertyAccess,String> access,
ReferenceType referenceType)
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object
getType
public com.google.gwt.core.ext.typeinfo.JType getType()
getElementType
public com.google.gwt.core.ext.typeinfo.JType getElementType()
getConcreteTypes
public List<com.google.gwt.core.ext.typeinfo.JClassType> getConcreteTypes()
getName
public String getName()
getPath
public String getPath()
hasPath
public boolean hasPath()
getPathOrName
public String getPathOrName()
isJsonPath
public boolean isJsonPath()
- Return
true if the path contains JSON_PATH_SYMBOLS,
false otherwise.
- Parameters:
path -
- Returns:
true if the path contains JSON_PATH_SYMBOLS
, false otherwise.
isXpath
public boolean isXpath()
- Return
true if the path contains #PATH_SYMBOLS,
false otherwise.
- Parameters:
path -
- Returns:
true if the path contains #PATH_SYMBOLS ,
false otherwise.
getConverter
public String getConverter()
getFormat
public String getFormat()
getWhitespaceHandling
public name.pehl.totoe.commons.client.WhitespaceHandling getWhitespaceHandling()
isNative
public boolean isNative()
getInstanceCreator
public String getInstanceCreator()
getGetter
public String getGetter()
getSetter
public String getSetter()
getAccess
public Map<name.pehl.piriti.rebind.property.PropertyAccess,String> getAccess()
isAccessibleField
public boolean isAccessibleField()
isCallableGetter
public boolean isCallableGetter()
getCallableGetterName
public String getCallableGetterName()
isCallableSetter
public boolean isCallableSetter()
getCallableSetterName
public String getCallableSetterName()
getReferenceType
public ReferenceType getReferenceType()
getVariables
public Variables getVariables()
getTemplates
public Templates getTemplates()
Copyright © 2012 Harald Pehl. All Rights Reserved.