org.openmdx.base.accessor.generic.spi
Class MarshallingStructure_1

java.lang.Object
  extended by org.openmdx.base.accessor.generic.spi.DelegatingStructure_1
      extended by org.openmdx.base.accessor.generic.spi.MarshallingStructure_1
All Implemented Interfaces:
Serializable, Structure_1_0, Delegating_1_0

public class MarshallingStructure_1
extends DelegatingStructure_1
implements Serializable

The Structure_1_0 interface.

See Also:
Serialized Form

Field Summary
protected  ObjectFactory_1_0 marshaller
           
 
Constructor Summary
MarshallingStructure_1(Structure_1_0 structure, ObjectFactory_1_0 marshaller)
          Constructor
 
Method Summary
 List objFieldNames()
          Return the field names in this structure.
 String objGetType()
          Returns the object's model class.
 Object objGetValue(String fieldName)
          Get a field.
 
Methods inherited from class org.openmdx.base.accessor.generic.spi.DelegatingStructure_1
equals, getDelegate, hashCode, objGetDelegate, setDelegate, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

marshaller

protected ObjectFactory_1_0 marshaller
Constructor Detail

MarshallingStructure_1

public MarshallingStructure_1(Structure_1_0 structure,
                              ObjectFactory_1_0 marshaller)
Constructor

Parameters:
the - marshaller to be applied to the elements, filter and order objects.
The - delegate contains unmarshalled elements
Method Detail

objGetType

public String objGetType()
Returns the object's model class.

Specified by:
objGetType in interface Structure_1_0
Overrides:
objGetType in class DelegatingStructure_1
Returns:
the object's model class

objFieldNames

public List objFieldNames()
Return the field names in this structure.

Specified by:
objFieldNames in interface Structure_1_0
Overrides:
objFieldNames in class DelegatingStructure_1
Returns:
the (String) field names contained in this structure

objGetValue

public Object objGetValue(String fieldName)
                   throws ServiceException
Get a field.

Specified by:
objGetValue in interface Structure_1_0
Overrides:
objGetValue in class DelegatingStructure_1
Parameters:
fieldName - the fields's name
Returns:
the fields value which may be null.
Throws:
ServiceException - BAD_MEMBER_NAME if the structure has no such field


This software is published under the BSD license. Copyright © 2003-2008, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.