name.pehl.piriti.rebind.property
Class PropertyContext

java.lang.Object
  extended by 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 $

Nested Class Summary
static class PropertyContext.PropertyContextOrder
           
 
Constructor Summary
PropertyContext(PropertySource propertySource, Map<name.pehl.piriti.rebind.property.PropertyAccess,String> access, ReferenceType referenceType)
           
 
Method Summary
 boolean equals(Object obj)
           
 Map<name.pehl.piriti.rebind.property.PropertyAccess,String> getAccess()
           
 String getCallableGetterName()
           
 String getCallableSetterName()
           
 List<com.google.gwt.core.ext.typeinfo.JClassType> getConcreteTypes()
           
 String getConverter()
           
 com.google.gwt.core.ext.typeinfo.JType getElementType()
           
 String getFormat()
           
 String getGetter()
           
 String getInstanceCreator()
           
 String getName()
           
 String getPath()
           
 String getPathOrName()
           
 ReferenceType getReferenceType()
           
 String getSetter()
           
 Templates getTemplates()
           
 com.google.gwt.core.ext.typeinfo.JType getType()
           
 Variables getVariables()
           
 name.pehl.totoe.commons.client.WhitespaceHandling getWhitespaceHandling()
           
 int hashCode()
           
 boolean hasPath()
           
 boolean isAccessibleField()
           
 boolean isCallableGetter()
           
 boolean isCallableSetter()
           
 boolean isJsonPath()
          Return true if the path contains JSON_PATH_SYMBOLS, false otherwise.
 boolean isNative()
           
 boolean isXpath()
          Return true if the path contains #PATH_SYMBOLS, false otherwise.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyContext

public PropertyContext(PropertySource propertySource,
                       Map<name.pehl.piriti.rebind.property.PropertyAccess,String> access,
                       ReferenceType referenceType)
Method Detail

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.