Class Project
java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
org.eclipse.lyo.oslc.domains.promcode.Project
- All Implemented Interfaces:
IProject,IExtendedResource,IResource
@OslcNamespace("http://open-services.net/ns/promcode#")
@OslcName("Project")
@OslcResourceShape(title="Project Shape",
description="A project is software development work to achieve some business goal.",
describes="http://open-services.net/ns/promcode#Project")
public class Project
extends AbstractResource
implements IProject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceShapegetTitle()voidsetActualEndDate(Date actualEndDate) voidsetActualStartDate(Date actualStartDate) voidsetDescription(String description) voidsetIdentifier(String identifier) voidsetMetricOfScopeItemSize(Link metricOfScopeItemSize) voidsetPlannedEndDate(Date plannedEndDate) voidsetPlannedStartDate(Date plannedStartDate) voidvoidvoidsetUnitOfScopeItemSize(Link unitOfScopeItemSize) toString()toString(boolean asLocalResource) Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
Constructor Details
-
Project
public Project() -
Project
-
-
Method Details
-
createResourceShape
public static ResourceShape createResourceShape() throws OslcCoreApplicationException, URISyntaxException -
toString
-
toString
-
getDescription
@OslcName("description") @OslcPropertyDefinition("http://purl.org/dc/terms/description") @OslcOccurs(ZeroOrOne) @OslcValueType(XMLLiteral) @OslcReadOnly(false) public String getDescription()- Specified by:
getDescriptionin interfaceIProject
-
getIdentifier
@OslcName("identifier") @OslcPropertyDefinition("http://purl.org/dc/terms/identifier") @OslcOccurs(ExactlyOne) @OslcValueType(String) @OslcReadOnly(false) public String getIdentifier()- Specified by:
getIdentifierin interfaceIProject
-
getSource
@OslcName("source") @OslcPropertyDefinition("http://purl.org/dc/terms/source") @OslcOccurs(ZeroOrOne) @OslcValueType(String) @OslcReadOnly(false) public String getSource() -
getTitle
@OslcName("title") @OslcPropertyDefinition("http://purl.org/dc/terms/title") @OslcOccurs(ZeroOrOne) @OslcValueType(XMLLiteral) @OslcReadOnly(false) public String getTitle() -
getActualEndDate
@OslcName("actualEndDate") @OslcPropertyDefinition("http://open-services.net/ns/promcode#actualEndDate") @OslcOccurs(ZeroOrOne) @OslcValueType(DateTime) @OslcReadOnly(false) public Date getActualEndDate()- Specified by:
getActualEndDatein interfaceIProject
-
getActualStartDate
@OslcName("actualStartDate") @OslcPropertyDefinition("http://open-services.net/ns/promcode#actualStartDate") @OslcOccurs(ZeroOrOne) @OslcValueType(DateTime) @OslcReadOnly(false) public Date getActualStartDate()- Specified by:
getActualStartDatein interfaceIProject
-
getMetricOfScopeItemSize
@OslcName("metricOfScopeItemSize") @OslcPropertyDefinition("http://open-services.net/ns/promcode#metricOfScopeItemSize") @OslcOccurs(ZeroOrOne) @OslcValueType(Resource) @OslcReadOnly(false) public Link getMetricOfScopeItemSize()- Specified by:
getMetricOfScopeItemSizein interfaceIProject
-
getPlannedEndDate
@OslcName("plannedEndDate") @OslcPropertyDefinition("http://open-services.net/ns/promcode#plannedEndDate") @OslcOccurs(ZeroOrOne) @OslcValueType(DateTime) @OslcReadOnly(false) public Date getPlannedEndDate()- Specified by:
getPlannedEndDatein interfaceIProject
-
getPlannedStartDate
@OslcName("plannedStartDate") @OslcPropertyDefinition("http://open-services.net/ns/promcode#plannedStartDate") @OslcOccurs(ZeroOrOne) @OslcValueType(DateTime) @OslcReadOnly(false) public Date getPlannedStartDate()- Specified by:
getPlannedStartDatein interfaceIProject
-
getUnitOfScopeItemSize
@OslcName("unitOfScopeItemSize") @OslcPropertyDefinition("http://open-services.net/ns/promcode#unitOfScopeItemSize") @OslcOccurs(ZeroOrOne) @OslcValueType(Resource) @OslcReadOnly(false) public Link getUnitOfScopeItemSize()- Specified by:
getUnitOfScopeItemSizein interfaceIProject
-
setDescription
- Specified by:
setDescriptionin interfaceIProject
-
setIdentifier
- Specified by:
setIdentifierin interfaceIProject
-
setSource
-
setTitle
-
setActualEndDate
- Specified by:
setActualEndDatein interfaceIProject
-
setActualStartDate
- Specified by:
setActualStartDatein interfaceIProject
-
setMetricOfScopeItemSize
- Specified by:
setMetricOfScopeItemSizein interfaceIProject
-
setPlannedEndDate
- Specified by:
setPlannedEndDatein interfaceIProject
-
setPlannedStartDate
- Specified by:
setPlannedStartDatein interfaceIProject
-
setUnitOfScopeItemSize
- Specified by:
setUnitOfScopeItemSizein interfaceIProject
-