biz.c24.io.api.data
Interface Any

All Known Implementing Classes:
AnyAttribute, AnyElement

public interface Any

A wildcard. This interface defines the common abstraction for DataComponent wildcard instances. The concrete implementations of this interface implement many of these methods by their subclass hierarchy from DataComponent. These methods contain a reference to the appropriate implementing method in DataComponent.


Method Summary
 int getMaxCardinality()
          Returns the maximum cardinality of this component.
 int getMinCardinality()
          Returns the minimum cardinality of this component.
 String getName()
          Returns the name of this component.
 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.
 

Method Detail

getMinCardinality

int getMinCardinality()
Returns the minimum cardinality of this component.

Returns:
The minimum cardinality.
See Also:
DataComponent.getMinCardinality()

getMaxCardinality

int getMaxCardinality()
Returns the maximum cardinality of this component.

Returns:
The maximum cardinality or DataComponent.CARDINALITY_UNBOUNDED if there is no upper bound.
See Also:
DataComponent.getMaxCardinality()

getName

String getName()
Returns the name of this component.

Returns:
The name.
See Also:
DataComponent.getName()

getNamespaceCount

int getNamespaceCount()
Returns the number of namespaces.

Returns:
The number of namespaces.

getNamespace

String getNamespace(int index)
Returns the namespace at index.

Parameters:
index - The index of the required namespace.
Returns:
The namespace at index.
Throws:
IndexOutOfBoundsException - if the index is out of range (index < 0 || index >= getNamespaceCount()).

getProcessContents

ProcessContentsEnum getProcessContents()
Returns the directive for processing the contents of this object.

Returns:
The process contents directive.


C24 Technologies © 2002-2012: All Rights Reserved.