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 Date
getCompleted()
Date
getCreated()
Long
getCreationsCount()
String
getCreator()
Long
getDeletionsCount()
String
getIdentifier()
Long
getModificationsCount()
String
getProcessType()
Set<String>
getProjectAreas()
String
getStatus()
Date
getValid()
void
setCompleted(Date completed)
void
setCreated(Date created)
void
setCreationsCount(Long creationsCount)
void
setCreator(String creator)
void
setDeletionsCount(Long deletionsCount)
void
setIdentifier(String identifier)
void
setModificationsCount(Long modificationsCount)
void
setProcessType(String processType)
void
setProjectAreas(Set<String> projectAreas)
void
setStatus(String status)
void
setValid(Date valid)
-
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) @OslcPropertyDefinition("http://jazz.net/ns/process#projectArea") public Set<String> getProjectAreas()
-
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
@OslcOccurs(ExactlyOne) @OslcValueType(String) @OslcPropertyDefinition("http://www.sodius.com/ns/trs#status") public String getStatus()
-
setStatus
public void setStatus(String status)
-
getCompleted
@OslcOccurs(ZeroOrOne) @OslcValueType(DateTime) @OslcDescription("The process completion time") @OslcPropertyDefinition("http://www.sodius.com/ns/trs#completed") public Date getCompleted()
-
setCompleted
public void setCompleted(Date completed)
-
getModificationsCount
@OslcOccurs(ZeroOrOne) @OslcValueType(Integer) @OslcPropertyDefinition("http://www.sodius.com/ns/trs#modificationsCount") public Long getModificationsCount()
-
setModificationsCount
public void setModificationsCount(Long modificationsCount)
-
getCreationsCount
@OslcOccurs(ZeroOrOne) @OslcValueType(Integer) @OslcPropertyDefinition("http://www.sodius.com/ns/trs#creationsCount") public Long getCreationsCount()
-
setCreationsCount
public void setCreationsCount(Long creationsCount)
-
getDeletionsCount
@OslcOccurs(ZeroOrOne) @OslcValueType(Integer) @OslcPropertyDefinition("http://www.sodius.com/ns/trs#deletionsCount") public Long getDeletionsCount()
-
setDeletionsCount
public void setDeletionsCount(Long deletionsCount)
-
getValid
@OslcOccurs(ZeroOrOne) @OslcValueType(DateTime) @OslcDescription("The process valid-through time after completion") @OslcPropertyDefinition("http://purl.org/dc/terms/valid") public Date getValid()
-
setValid
public void setValid(Date valid)
-
-