org.obe.xpdl.model.data
Class MultiValuedType

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

public abstract class MultiValuedType
extends AbstractBean
implements Type

Base for multi-valued types such as list and array.

Author:
Adrian Price
See Also:
Serialized Form

Field Summary
 
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 MultiValuedType()
           
protected MultiValuedType(Type type)
           
 
Method Summary
 Type getImpliedType()
          Returns the actual type implied by this type.
 Type getType()
          Get the type for items in the array.
 void setType(Type type)
          Set the base type.
 
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
 

Constructor Detail

MultiValuedType

protected MultiValuedType()

MultiValuedType

protected MultiValuedType(Type type)
Method Detail

getType

public final Type getType()
Get the type for items in the array.

Returns:
The item types

setType

public final void setType(Type type)
Set the base type.

Parameters:
type - The type

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.