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 ResourceShape
getTitle()
void
setActualEndDate
(Date actualEndDate) void
setActualStartDate
(Date actualStartDate) void
setDescription
(String description) void
setIdentifier
(String identifier) void
setMetricOfScopeItemSize
(Link metricOfScopeItemSize) void
setPlannedEndDate
(Date plannedEndDate) void
setPlannedStartDate
(Date plannedStartDate) void
void
void
setUnitOfScopeItemSize
(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:
getDescription
in interfaceIProject
-
getIdentifier
@OslcName("identifier") @OslcPropertyDefinition("http://purl.org/dc/terms/identifier") @OslcOccurs(ExactlyOne) @OslcValueType(String) @OslcReadOnly(false) public String getIdentifier()- Specified by:
getIdentifier
in 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:
getActualEndDate
in interfaceIProject
-
getActualStartDate
@OslcName("actualStartDate") @OslcPropertyDefinition("http://open-services.net/ns/promcode#actualStartDate") @OslcOccurs(ZeroOrOne) @OslcValueType(DateTime) @OslcReadOnly(false) public Date getActualStartDate()- Specified by:
getActualStartDate
in interfaceIProject
-
getMetricOfScopeItemSize
@OslcName("metricOfScopeItemSize") @OslcPropertyDefinition("http://open-services.net/ns/promcode#metricOfScopeItemSize") @OslcOccurs(ZeroOrOne) @OslcValueType(Resource) @OslcReadOnly(false) public Link getMetricOfScopeItemSize()- Specified by:
getMetricOfScopeItemSize
in interfaceIProject
-
getPlannedEndDate
@OslcName("plannedEndDate") @OslcPropertyDefinition("http://open-services.net/ns/promcode#plannedEndDate") @OslcOccurs(ZeroOrOne) @OslcValueType(DateTime) @OslcReadOnly(false) public Date getPlannedEndDate()- Specified by:
getPlannedEndDate
in interfaceIProject
-
getPlannedStartDate
@OslcName("plannedStartDate") @OslcPropertyDefinition("http://open-services.net/ns/promcode#plannedStartDate") @OslcOccurs(ZeroOrOne) @OslcValueType(DateTime) @OslcReadOnly(false) public Date getPlannedStartDate()- Specified by:
getPlannedStartDate
in interfaceIProject
-
getUnitOfScopeItemSize
@OslcName("unitOfScopeItemSize") @OslcPropertyDefinition("http://open-services.net/ns/promcode#unitOfScopeItemSize") @OslcOccurs(ZeroOrOne) @OslcValueType(Resource) @OslcReadOnly(false) public Link getUnitOfScopeItemSize()- Specified by:
getUnitOfScopeItemSize
in interfaceIProject
-
setDescription
- Specified by:
setDescription
in interfaceIProject
-
setIdentifier
- Specified by:
setIdentifier
in interfaceIProject
-
setSource
-
setTitle
-
setActualEndDate
- Specified by:
setActualEndDate
in interfaceIProject
-
setActualStartDate
- Specified by:
setActualStartDate
in interfaceIProject
-
setMetricOfScopeItemSize
- Specified by:
setMetricOfScopeItemSize
in interfaceIProject
-
setPlannedEndDate
- Specified by:
setPlannedEndDate
in interfaceIProject
-
setPlannedStartDate
- Specified by:
setPlannedStartDate
in interfaceIProject
-
setUnitOfScopeItemSize
- Specified by:
setUnitOfScopeItemSize
in interfaceIProject
-