com.openindex.openestate.impl
Class CustomValuesImpl

java.lang.Object
  extended by com.openindex.openestate.impl.AbstractImplItem
      extended by com.openindex.openestate.impl.CustomValuesImpl
All Implemented Interfaces:
SerializableXmlElement, SerializableXmlType

public class CustomValuesImpl
extends AbstractImplItem
implements SerializableXmlElement

Implementierung einer Liste von benutzer-definierten Attributen.
$Id: CustomValuesImpl.java 1818 2012-10-08 17:18:43Z andy $

Author:
Andreas Rudolph

Field Summary
static String XML_ELEMENT
          XML-Elememts
static String XML_ELEMENT_VALUE
           
 
Constructor Summary
CustomValuesImpl()
          Erzeugt eine Instanz der Klasse 'CustomValuesImpl'
 
Method Summary
 CustomValueImpl getCustomValue(String key)
           
 Map<String,CustomValueImpl> getValueMap()
           
 boolean hasCustomValue(String key)
           
 void merge(AbstractImplItem item)
           
 void putCustomValue(String key, Object obj, int type)
           
 void readFromXml(org.dom4j.Document doc)
           
 void readFromXml(org.dom4j.Element node)
           
 void serializeToXml(org.dom4j.Document doc)
           
 void serializeToXml(org.dom4j.Element node)
           
 
Methods inherited from class com.openindex.openestate.impl.AbstractImplItem
getValue, getValue, getValues, putValue, selectAttribute, selectAttribute, selectAttributeAsBoolean, selectAttributeAsBoolean, selectAttributeAsCurrency, selectAttributeAsCurrency, selectAttributeAsDate, selectAttributeAsDate, selectAttributeAsDateTime, selectAttributeAsDateTime, selectAttributeAsDouble, selectAttributeAsDouble, selectAttributeAsFloat, selectAttributeAsFloat, selectAttributeAsURL, selectAttributeAsURL, selectChildElements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XML_ELEMENT

public static final String XML_ELEMENT
XML-Elememts

See Also:
Constant Field Values

XML_ELEMENT_VALUE

public static final String XML_ELEMENT_VALUE
See Also:
Constant Field Values
Constructor Detail

CustomValuesImpl

public CustomValuesImpl()
Erzeugt eine Instanz der Klasse 'CustomValuesImpl'

Method Detail

getCustomValue

public CustomValueImpl getCustomValue(String key)

getValueMap

public Map<String,CustomValueImpl> getValueMap()

hasCustomValue

public boolean hasCustomValue(String key)

merge

public void merge(AbstractImplItem item)
Overrides:
merge in class AbstractImplItem

putCustomValue

public void putCustomValue(String key,
                           Object obj,
                           int type)

readFromXml

public void readFromXml(org.dom4j.Document doc)
                 throws org.dom4j.DocumentException
Specified by:
readFromXml in interface SerializableXmlElement
Throws:
org.dom4j.DocumentException

readFromXml

public void readFromXml(org.dom4j.Element node)
                 throws org.dom4j.DocumentException
Specified by:
readFromXml in interface SerializableXmlType
Throws:
org.dom4j.DocumentException

serializeToXml

public void serializeToXml(org.dom4j.Document doc)
                    throws org.dom4j.DocumentException
Specified by:
serializeToXml in interface SerializableXmlElement
Throws:
org.dom4j.DocumentException

serializeToXml

public void serializeToXml(org.dom4j.Element node)
                    throws org.dom4j.DocumentException
Specified by:
serializeToXml in interface SerializableXmlType
Throws:
org.dom4j.DocumentException


Copyright © 2012 OpenEstate. All Rights Reserved.