Package org.cristalise.kernel.utils
Interface DescriptionObject
- All Known Implementing Classes:
ActivityDef,CompositeActivityDef,DomainContext,ImportAgent,ImportItem,ImportRole,Module,PropertyDescriptionList,Query,Schema,Script,StateMachine
public interface DescriptionObject
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanexists(TransactionKey transactionKey) default voidgetName()default StringgetXml()default StringgetXml(boolean prettyPrint) default DependencymakeDescCollection(BuiltInCollections collection, TransactionKey transactionKey, DescriptionObject... descs) makeDescCollections(TransactionKey transactionKey) voidsetItemPath(ItemPath path) voidvoidsetNamespace(String ns) voidsetVersion(Integer version) default Outcome
-
Method Details
-
getNamespace
String getNamespace() -
getName
String getName() -
getVersion
Integer getVersion() -
getItemPath
ItemPath getItemPath() -
setNamespace
-
setName
-
setVersion
-
setItemPath
-
getItemID
String getItemID() -
getResourceType
BuiltInResources getResourceType() -
getXml
- Throws:
InvalidDataException
-
getXml
- Throws:
InvalidDataException
-
makeDescCollections
CollectionArrayList makeDescCollections(TransactionKey transactionKey) throws InvalidDataException, ObjectNotFoundException -
export
default void export(Writer imports, File dir, boolean shallow) throws InvalidDataException, ObjectNotFoundException, IOException -
makeDescCollection
default Dependency makeDescCollection(BuiltInCollections collection, TransactionKey transactionKey, DescriptionObject... descs) throws InvalidDataException - Throws:
InvalidDataException
-
toOutcome
default Outcome toOutcome() throws CriseVertxException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException, IOException, org.exolab.castor.mapping.MappingException- Throws:
CriseVertxExceptionorg.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionIOExceptionorg.exolab.castor.mapping.MappingException
-
exists
-