org.deduced.xml
Class XmlModelDecoder.PropertyToElementAssociation

java.lang.Object
  extended by org.deduced.xml.XmlModelDecoder.PropertyToElementAssociation
Enclosing class:
XmlModelDecoder

private static final class XmlModelDecoder.PropertyToElementAssociation
extends java.lang.Object

PropertyToElementAssociation : used to store the association between a DOM element representing a property value and the collection that will be modified by this property

Author:
Duff

Field Summary
private  XmlModelDecoder.CollectionToElementAssociation collectionAssociation
          Collection to element association that will be modified when the property value is read and assigned
private  org.w3c.dom.Element element
          element in the DOM that represents this property with its key and value
private  PropertyCollection<?,?> instance
          actual instance that will be set with this property
 
Constructor Summary
XmlModelDecoder.PropertyToElementAssociation()
          PropertyToElementAssociation Constructor
 
Method Summary
 XmlModelDecoder.CollectionToElementAssociation getCollectionAssociation()
           
 org.w3c.dom.Element getElement()
           
 PropertyCollection<?,?> getInstance()
           
 void setCollectionAssociation(XmlModelDecoder.CollectionToElementAssociation setCollectionAssociation)
           
 void setElement(org.w3c.dom.Element setElement)
           
 void setInstance(PropertyCollection<?,?> setInstance)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

collectionAssociation

private XmlModelDecoder.CollectionToElementAssociation collectionAssociation
Collection to element association that will be modified when the property value is read and assigned


instance

private PropertyCollection<?,?> instance
actual instance that will be set with this property


element

private org.w3c.dom.Element element
element in the DOM that represents this property with its key and value

Constructor Detail

XmlModelDecoder.PropertyToElementAssociation

public XmlModelDecoder.PropertyToElementAssociation()
PropertyToElementAssociation Constructor

Method Detail

setCollectionAssociation

public void setCollectionAssociation(XmlModelDecoder.CollectionToElementAssociation setCollectionAssociation)
Parameters:
setCollectionAssociation - The collectionAssociation to set.

getCollectionAssociation

public XmlModelDecoder.CollectionToElementAssociation getCollectionAssociation()
Returns:
Returns the collectionAssociation.

setInstance

public void setInstance(PropertyCollection<?,?> setInstance)
Parameters:
setInstance - The instance to set.

getInstance

public PropertyCollection<?,?> getInstance()
Returns:
Returns the instance.

setElement

public void setElement(org.w3c.dom.Element setElement)
Parameters:
setElement - The element to set.

getElement

public org.w3c.dom.Element getElement()
Returns:
Returns the element.