org.jibx.binding.def
Interface IContextObj

All Superinterfaces:
ITypeBinding
All Known Implementing Classes:
ObjectBinding

public interface IContextObj
extends ITypeBinding

Containing object context interface. This interface is implemented by binding definition components that link to objects and can contain nested components.

Author:
Dennis M. Sosnoski

Method Summary
 BoundClass getBoundClass()
          Get class linked to binding element.
 boolean setIdChild(IComponent child)
          Set ID property.
 
Methods inherited from interface org.jibx.binding.def.ITypeBinding
getAttributeMarshalMethod, getAttributePresentTestMethod, getAttributeUnmarshalMethod, getCompleteMethod, getContentMarshalMethod, getContentPresentTestMethod, getContentUnmarshalMethod, getCreateMethod, getPrepareMethod
 

Method Detail

getBoundClass

BoundClass getBoundClass()
Get class linked to binding element.

Returns:
information for class linked by binding

setIdChild

boolean setIdChild(IComponent child)
Set ID property. Tells the parent binding element that a particular child defines an ID property for the class linked to the parent.

Parameters:
child - child defining the ID property
Returns:
true if successful, false if ID already defined


Project Web Site