public class GenericComposite extends AbstractComposite
log
Constructor and Description |
---|
GenericComposite(Message message)
Creates a generic composite
|
Modifier and Type | Method and Description |
---|---|
Type |
getComponent(int number)
Returns the single component of this composite at the specified position (starting at 0) -
Creates it (and any nonexistent components before it) if necessary.
|
Type[] |
getComponents()
Returns an array containing the components of this field.
|
String |
getName()
Returns the name of the type (used in XML encoding and profile checking)
|
accept, clear, getTyped, isEmpty, provideLocation
encode, getExtraComponents, getMessage, parse, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
encode, getExtraComponents, getMessage, parse
public GenericComposite(Message message)
message
- message this object is linked topublic Type getComponent(int number) throws DataTypeException
number
- index of the component to be retrieved (zero-based)DataTypeException
public Type[] getComponents()
Copyright © 2001–2017 University Health Network. All rights reserved.