org.apache.shindig.protocol.conversion.xstream
Class InterfaceFieldAliasMapping
java.lang.Object
org.apache.shindig.protocol.conversion.xstream.InterfaceFieldAliasMapping
public class InterfaceFieldAliasMapping
- extends Object
Maps of Interfaces to Aliases used by BeanXStreamConverter
InterfaceFieldAliasMapping
public InterfaceFieldAliasMapping(String alias,
Class<?> type,
String fieldName)
- Parameters:
alias - the name of the element to be used in the xmltype - the type containing the fieldfieldName - the field name.
InterfaceFieldAliasMapping
public InterfaceFieldAliasMapping(String alias,
Class<?> type,
String fieldName,
String parent)
- Parameters:
alias - the name of the element to be used in the xmltype - the type containing the fieldfieldName - the field name.parent - the parent element
getType
public Class<?> getType()
- Returns:
getAlias
public String getAlias()
- Returns:
getFieldName
public String getFieldName()
- Returns:
getParent
public String getParent()
- Returns:
- the parent
toString
public String toString()
-
- Overrides:
toString in class Object
- See Also:
Object.toString()
Copyright © 2007-2012. All Rights Reserved.