Package com.sodius.oslc.server.trs.model
Class TrsProcess
- java.lang.Object
-
- org.eclipse.lyo.oslc4j.core.model.AbstractResource
-
- com.sodius.oslc.server.trs.model.TrsProcess
-
- All Implemented Interfaces:
IExtendedResource
,IResource
@OslcName("Process") @OslcNamespace("http://www.sodius.com/ns/trs#") @OslcResourceShape(title="TRS Feed Process Resource Shape", describes="http://www.sodius.com/ns/trs#Process") public class TrsProcess extends AbstractResource
Encapsulates a TRS process.- Since:
- 3.11.0
-
-
Constructor Summary
Constructors Constructor Description TrsProcess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addProjectArea(ProjectArea projectArea)
Date
getCreated()
String
getCreator()
String
getIdentifier()
String
getProcessType()
List<ProjectArea>
getProjectAreas()
TrsProcessStatus
getStatus()
void
setCreated(Date created)
void
setCreator(String creator)
void
setIdentifier(String identifier)
void
setProcessType(String processType)
void
setProjectAreas(List<ProjectArea> projectAreas)
void
setStatus(TrsProcessStatus status)
-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Method Detail
-
getProcessType
@OslcOccurs(ExactlyOne) @OslcValueType(String) @OslcPropertyDefinition("http://www.sodius.com/ns/trs#processType") public String getProcessType()
-
setProcessType
public void setProcessType(String processType)
-
getIdentifier
@OslcOccurs(ExactlyOne) @OslcValueType(String) @OslcPropertyDefinition("http://purl.org/dc/terms/identifier") public String getIdentifier()
-
setIdentifier
public void setIdentifier(String identifier)
-
getProjectAreas
@OslcName("projectArea") @OslcOccurs(ZeroOrMany) @OslcValueType(LocalResource) @OslcRepresentation(Inline) @OslcPropertyDefinition("http://jazz.net/ns/process#projectArea") public List<ProjectArea> getProjectAreas()
-
setProjectAreas
public void setProjectAreas(List<ProjectArea> projectAreas)
-
addProjectArea
public void addProjectArea(ProjectArea projectArea)
-
getCreated
@OslcOccurs(ExactlyOne) @OslcValueType(DateTime) @OslcDescription("The process creation time") @OslcPropertyDefinition("http://purl.org/dc/terms/created") public Date getCreated()
-
setCreated
public void setCreated(Date created)
-
getCreator
@OslcName("processCreator") @OslcOccurs(ExactlyOne) @OslcValueType(String) @OslcPropertyDefinition("http://www.sodius.com/ns/trs#processCreator") public String getCreator()
-
setCreator
public void setCreator(String creator)
-
getStatus
@OslcName("processStatus") @OslcDescription("The TRS process status") @OslcOccurs(ExactlyOne) @OslcValueType(LocalResource) @OslcRepresentation(Inline) @OslcPropertyDefinition("http://www.sodius.com/ns/trs#processStatus") @OslcTitle("Status") public TrsProcessStatus getStatus()
-
setStatus
public void setStatus(TrsProcessStatus status)
-
-