Interface EbXMLObjectContainer
- All Known Subinterfaces:
EbXMLProvideAndRegisterDocumentSetRequest<E>,EbXMLQueryResponse<E>,EbXMLSubmitObjectsRequest<E>
- All Known Implementing Classes:
EbXMLObjectContainer30,EbXMLProvideAndRegisterDocumentSetRequest30,EbXMLQueryResponse30,EbXMLSubmitObjectsRequest30
public interface EbXMLObjectContainer
Provides functionality for containers of various ebXML objects.
- Author:
- Jens Riemschneider
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddAssociation(EbXMLAssociation association) Adds an association to this container.voidaddClassification(EbXMLClassification classification) Adds a classification to this container.voidaddExtrinsicObject(EbXMLExtrinsicObject extrinsic) Adds the given extrinsic object to this container.voidaddRegistryPackage(EbXMLRegistryPackage regPackage) Adds a registry package to this container.Returns all associations of this container.Returns the list of all extrinsic objects.getExtrinsicObjects(String... objectTypes) Returns the list of extrinsic objects of a given type.Returns all registry packages of this container.getRegistryPackages(String classificationNode) Returns the list of registry packages matching the classification node.
-
Method Details
-
addExtrinsicObject
Adds the given extrinsic object to this container.- Parameters:
extrinsic- the object to add. Ifnullnothing will be added.
-
getExtrinsicObjects
Returns the list of extrinsic objects of a given type.- Parameters:
objectTypes- the object types of the extrinsic objects to return.- Returns:
- the extrinsic objects.
-
getExtrinsicObjects
List<EbXMLExtrinsicObject> getExtrinsicObjects()Returns the list of all extrinsic objects.- Returns:
- the extrinsic objects of this container.
-
addRegistryPackage
Adds a registry package to this container.- Parameters:
regPackage- the registry package to add.
-
getRegistryPackages
Returns the list of registry packages matching the classification node.- Parameters:
classificationNode- the classification node.- Returns:
- the list of packages that match the node.
-
getRegistryPackages
List<EbXMLRegistryPackage> getRegistryPackages()Returns all registry packages of this container.- Returns:
- the list of packages.
-
addAssociation
Adds an association to this container.- Parameters:
association- the association to add.
-
getAssociations
List<EbXMLAssociation> getAssociations()Returns all associations of this container.- Returns:
- the associations.
-
addClassification
Adds a classification to this container.- Parameters:
classification- the classification to add.
-
getClassifications
List<EbXMLClassification> getClassifications()- Returns:
- all classifications contained in this entry.
-
getObjectLibrary
EbXMLObjectLibrary getObjectLibrary()- Returns:
- the object library used by this container.
-