org.obe.xpdl.model.data
Class ComplexType

java.lang.Object
  extended byorg.obe.util.AbstractBean
      extended byorg.obe.xpdl.model.data.ComplexType
All Implemented Interfaces:
java.beans.beancontext.BeanContextChild, java.io.Serializable, Type
Direct Known Subclasses:
RecordType, UnionType

public abstract class ComplexType
extends AbstractBean
implements Type

Author:
Adrian Price
See Also:
Serialized Form

Field Summary
protected  Type[] _member
           
static java.lang.String IMPLIED_TYPE
           
static java.lang.String MEMBER
           
static java.lang.String TYPE
           
 
Fields inherited from interface org.obe.xpdl.model.data.Type
ARRAY_TYPE, BOOLEAN_TYPE, DATETIME_TYPE, DECLARED_TYPE, DEFAULT_TYPE, ENUMERATION_TYPE, EXTERNAL_REFERENCE_TYPE, FLOAT_TYPE, INTEGER_TYPE, LIST_TYPE, PERFORMER_TYPE, RECORD_TYPE, REFERENCE_TYPE, SCHEMA_TYPE, STRING_TYPE, UNDEFINED_TYPE, UNION_TYPE
 
Constructor Summary
protected ComplexType()
           
 
Method Summary
 void add(Type member)
           
 Type getImpliedType()
          Returns the actual type implied by this type.
 Type[] getMember()
           
 Type getMember(int i)
           
 void remove(Type member)
           
 void setMember(int i, Type member)
           
 void setMember(Type[] members)
           
 
Methods inherited from class org.obe.util.AbstractBean
add, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clear, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, get, get, getBeanContext, getListModel, hasChangeListeners, hasVetoListeners, remove, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener, set, set, setBeanContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.obe.xpdl.model.data.Type
isAssignableFrom, value
 

Field Detail

IMPLIED_TYPE

public static final java.lang.String IMPLIED_TYPE
See Also:
Constant Field Values

MEMBER

public static final java.lang.String MEMBER
See Also:
Constant Field Values

TYPE

public static final java.lang.String TYPE
See Also:
Constant Field Values

_member

protected Type[] _member
Constructor Detail

ComplexType

protected ComplexType()
Method Detail

add

public final void add(Type member)
               throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException

remove

public final void remove(Type member)
                  throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException

getMember

public final Type[] getMember()

getMember

public final Type getMember(int i)

setMember

public final void setMember(Type[] members)
                     throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException

setMember

public final void setMember(int i,
                            Type member)
                     throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException

getImpliedType

public Type getImpliedType()
Description copied from interface: Type
Returns the actual type implied by this type. Some types behave as references to other types.

Specified by:
getImpliedType in interface Type
Returns:
The implied type.


SourceForge.net Logo OBE-1.0 Copyright (c) 2002-2006 Adrian Price. All Rights Reserved.