|
||||||||||
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.Attribute
biz.c24.io.api.data.AnyAttribute
public class AnyAttribute
An attribute 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 | |
---|---|
AnyAttribute()
Constructs a new instance which will require subsequent initialisation. |
|
AnyAttribute(DataModel model)
Constructs a new instance from the specified model. |
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 biz.c24.io.api.data.Attribute |
---|
formatObject, getAttributeRef, getForm, getSimpleType, parseObject, setMaxCardinality, setMinCardinality, setRef, setType |
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 AnyAttribute()
public AnyAttribute(DataModel model)
model
- The model.
NullPointerException
- if name is null.
IllegalArgumentException
- if minimum or maximum cardinality are less than zero or greater than one or if 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 Attribute
public int hashCode()
hashCode
in class Attribute
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |