Class ModuleResource
java.lang.Object
org.cristalise.kernel.process.module.ModuleImport
org.cristalise.kernel.process.module.ModuleResource
- Direct Known Subclasses:
ModuleActivity,ModuleAgent,ModuleDomainContext,ModuleItem,ModulePropertyDescription,ModuleQuery,ModuleRole,ModuleSchema,ModuleScript,ModuleStateMachine
-
Field Summary
FieldsFields inherited from class org.cristalise.kernel.process.module.ModuleImport
domainPath, isDOMPathExists, isNewItem, itemPath, name, ns, resourceChangeDetails, resourceChangeStatus -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(AgentPath agentPath, boolean reset, TransactionKey transactionKey) Get the string code of the ResourceTypeinthashCode()voidsetResourceType(String typeCode) Set the type uing the string codeMethods inherited from class org.cristalise.kernel.process.module.ModuleImport
getID, getItemPath, getNamespace, setID, setNamespace
-
Field Details
-
version
-
type
-
resourceLocation
-
-
Constructor Details
-
ModuleResource
public ModuleResource()
-
-
Method Details
-
getResourceType
Get the string code of the ResourceType- Returns:
- typeCode of the Resource
-
setResourceType
Set the type uing the string code- Parameters:
typeCode- the string code of the Resource
-
getResourceDir
-
getResourceExt
-
getResourceFileName
-
create
public Path create(AgentPath agentPath, boolean reset, TransactionKey transactionKey) throws ObjectNotFoundException, ObjectCannotBeUpdated, CannotManageException, ObjectAlreadyExistsException, InvalidDataException - Specified by:
createin classModuleImport- Throws:
ObjectNotFoundExceptionObjectCannotBeUpdatedCannotManageExceptionObjectAlreadyExistsExceptionInvalidDataException
-
hashCode
public int hashCode()- Overrides:
hashCodein classModuleImport
-