Class ScopeItem
java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
org.eclipse.lyo.oslc.domains.promcode.ManagedItem
org.eclipse.lyo.oslc.domains.promcode.ScopeItem
- All Implemented Interfaces:
IManagedItem
,IScopeItem
,IExtendedResource
,IResource
@OslcNamespace("http://open-services.net/ns/promcode#")
@OslcName("ScopeItem")
@OslcResourceShape(title="ScopeItem Shape",
description="A ScopeItem defines the work to be included in or excluded from a project. It defines the boundaries of the project",
describes="http://open-services.net/ns/promcode#ScopeItem")
public class ScopeItem
extends ManagedItem
implements IScopeItem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceShape
void
setActualSize
(Float actualSize) void
setIsPartOf
(Link isPartOf) void
setPlannedSize
(Float plannedSize) toString()
toString
(boolean asLocalResource) Methods inherited from class org.eclipse.lyo.oslc.domains.promcode.ManagedItem
getDescription, getIdentifier, getSequenceNumber, getSource, getTitle, setDescription, setIdentifier, setSequenceNumber, setSource, setTitle
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
Constructor Details
-
ScopeItem
public ScopeItem() -
ScopeItem
-
-
Method Details
-
createResourceShape
public static ResourceShape createResourceShape() throws OslcCoreApplicationException, URISyntaxException -
toString
- Overrides:
toString
in classManagedItem
-
toString
- Overrides:
toString
in classManagedItem
-
getActualSize
@OslcName("actualSize") @OslcPropertyDefinition("http://open-services.net/ns/promcode#actualSize") @OslcOccurs(ZeroOrOne) @OslcValueType(Float) @OslcReadOnly(false) public Float getActualSize()- Specified by:
getActualSize
in interfaceIScopeItem
-
getIsPartOf
@OslcName("isPartOf") @OslcPropertyDefinition("http://open-services.net/ns/promcode#isPartOf") @OslcOccurs(ZeroOrOne) @OslcValueType(Resource) @OslcRange("http://open-services.net/ns/promcode#ScopeItem") @OslcReadOnly(false) public Link getIsPartOf()- Specified by:
getIsPartOf
in interfaceIScopeItem
-
getPlannedSize
@OslcName("plannedSize") @OslcPropertyDefinition("http://open-services.net/ns/promcode#plannedSize") @OslcOccurs(ZeroOrOne) @OslcValueType(Float) @OslcReadOnly(false) public Float getPlannedSize()- Specified by:
getPlannedSize
in interfaceIScopeItem
-
setActualSize
- Specified by:
setActualSize
in interfaceIScopeItem
-
setIsPartOf
- Specified by:
setIsPartOf
in interfaceIScopeItem
-
setPlannedSize
- Specified by:
setPlannedSize
in interfaceIScopeItem
-