|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiz.c24.io.api.data.DataComponent
biz.c24.io.api.data.Element
biz.c24.io.api.data.AnyElement
public class AnyElement
An element wildcard.
Warning: Serialized objects of this class or of a deployed class which is derived from it may not be compatible with future releases of C24 Integreation Objects. The current serialization support is appropriate for short term storage or RMI between applications running the same version of C24 Integreation Objects.
Field Summary |
---|
Fields inherited from class biz.c24.io.api.data.DataComponent |
---|
CARDINALITY_UNBOUNDED, IO_VALIDATE_DATABASE_KEY_PRESENCE |
Constructor Summary | |
---|---|
AnyElement()
Constructs a new instance which will require subsequent initialisation. |
|
AnyElement(int minCardinality,
int maxCardinality,
DataModel model)
Constructs a new instance with the specified values. |
Method Summary | |
---|---|
void |
addNamespace(String namespace)
Adds the specified namespace. |
boolean |
equals(Object o)
|
String |
getNamespace(int index)
Returns the namespace at index . |
int |
getNamespaceCount()
Returns the number of namespaces. |
ProcessContentsEnum |
getProcessContents()
Returns the directive for processing the contents of this object. |
int |
hashCode()
|
void |
removeNamespace(String namespace)
Removes the specified namespace. |
void |
setProcessContents(ProcessContentsEnum processContents)
Sets the directive for processing the contents of this object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface biz.c24.io.api.data.Any |
---|
getMaxCardinality, getMinCardinality, getName |
Constructor Detail |
---|
public AnyElement()
public AnyElement(int minCardinality, int maxCardinality, DataModel model)
minCardinality
- The minimum cardinality.maxCardinality
- The maximum cardinality or DataComponent.CARDINALITY_UNBOUNDED
.model
- The data model.
NullPointerException
- if name is null.
IllegalArgumentException
- if minimum or maximum cardinality are less than zero or minimum cardinality is greater than maximum cardinality.Method Detail |
---|
public ProcessContentsEnum getProcessContents()
Any
getProcessContents
in interface Any
public void setProcessContents(ProcessContentsEnum processContents)
processContents
- The new value.public int getNamespaceCount()
Any
getNamespaceCount
in interface Any
public String getNamespace(int index)
Any
index
.
getNamespace
in interface Any
index
- The index of the required namespace.
index
.public void addNamespace(String namespace)
namespace
- The new value.
NullPointerException
- if namespace is null.public void removeNamespace(String namespace)
namespace
- The old value.public boolean equals(Object o)
equals
in class DataComponent
public int hashCode()
hashCode
in class DataComponent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |