- @Override
- public Id<DocumentType> addDocumentType(DocumentType aType) {
- int seqno = sequenceNumbers.getAndIncrement();
- documentTypes.put(seqno, aType);
- return new Id<DocumentType>(seqno);
- }
-
- @Override
- public void removeDocumentType(Id<DocumentType> aId) {
- documentTypes.remove(aId);
- }
-
- @Override
- public Collection<DocumentType> getDocumentTypes() {
- return Collections.unmodifiableCollection(documentTypes.values());
- }
-
- @Override
- public Id<Transformation> addTransformation(Transformation aTransformation) {
- return transformations.addTransformation(aTransformation);
- }
-
- @Override
- public void removeTransformation(Id<Transformation> aId) {
- transformations.removeTransformation(aId);
- }