Class ManagedItemCollection
java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
org.eclipse.lyo.oslc.domains.promcode.ManagedItemCollection
- All Implemented Interfaces:
IManagedItemCollection
,IExtendedResource
,IResource
- Direct Known Subclasses:
IssueCollection
,Plan
,Report
,RiskCollection
@OslcNamespace("http://open-services.net/ns/promcode#")
@OslcName("ManagedItemCollection")
@OslcResourceShape(title="ManagedItemCollection Shape",
description="A managed item collection is container of managed items. Any combination of subclass such as a scope item, work item, artifact or issue can be hold in a ManagedItemCollection as a snapshot. ManagedItemCollection has concrete subclasses such as Plan, Report and IssueCollection.",
describes="http://open-services.net/ns/promcode#ManagedItemCollection")
public class ManagedItemCollection
extends AbstractResource
implements IManagedItemCollection
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCollects
(Link collects) static ResourceShape
getDate()
getTitle()
void
setBelongsTo
(Link belongsTo) void
setCollects
(Set<Link> collects) void
void
setDescription
(String description) void
setIdentifier
(String identifier) void
void
toString()
toString
(boolean asLocalResource) Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
Constructor Details
-
ManagedItemCollection
public ManagedItemCollection() -
ManagedItemCollection
-
-
Method Details
-
createResourceShape
public static ResourceShape createResourceShape() throws OslcCoreApplicationException, URISyntaxException -
toString
-
toString
-
addCollects
- Specified by:
addCollects
in interfaceIManagedItemCollection
-
getDate
@OslcName("date") @OslcPropertyDefinition("http://purl.org/dc/terms/date") @OslcOccurs(ZeroOrOne) @OslcValueType(DateTime) @OslcReadOnly(false) public Date getDate()- Specified by:
getDate
in interfaceIManagedItemCollection
-
getDescription
@OslcName("description") @OslcPropertyDefinition("http://purl.org/dc/terms/description") @OslcOccurs(ZeroOrOne) @OslcValueType(XMLLiteral) @OslcReadOnly(false) public String getDescription()- Specified by:
getDescription
in interfaceIManagedItemCollection
-
getIdentifier
@OslcName("identifier") @OslcPropertyDefinition("http://purl.org/dc/terms/identifier") @OslcOccurs(ExactlyOne) @OslcValueType(String) @OslcReadOnly(false) public String getIdentifier()- Specified by:
getIdentifier
in interfaceIManagedItemCollection
-
getSource
@OslcName("source") @OslcPropertyDefinition("http://purl.org/dc/terms/source") @OslcOccurs(ZeroOrOne) @OslcValueType(String) @OslcReadOnly(false) public String getSource()- Specified by:
getSource
in interfaceIManagedItemCollection
-
getTitle
@OslcName("title") @OslcPropertyDefinition("http://purl.org/dc/terms/title") @OslcOccurs(ZeroOrOne) @OslcValueType(XMLLiteral) @OslcReadOnly(false) public String getTitle()- Specified by:
getTitle
in interfaceIManagedItemCollection
-
getBelongsTo
@OslcName("belongsTo") @OslcPropertyDefinition("http://open-services.net/ns/promcode#belongsTo") @OslcOccurs(ExactlyOne) @OslcValueType(Resource) @OslcRange("http://open-services.net/ns/promcode#Project") @OslcReadOnly(false) public Link getBelongsTo()- Specified by:
getBelongsTo
in interfaceIManagedItemCollection
-
getCollects
@OslcName("collects") @OslcPropertyDefinition("http://open-services.net/ns/promcode#collects") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRange({"http://open-services.net/ns/promcode#Issue","http://open-services.net/ns/promcode#Risk","http://open-services.net/ns/promcode#Artifact","http://open-services.net/ns/promcode#WorkItem","http://open-services.net/ns/promcode#ScopeItem"}) @OslcReadOnly(false) public Set<Link> getCollects()- Specified by:
getCollects
in interfaceIManagedItemCollection
-
setDate
- Specified by:
setDate
in interfaceIManagedItemCollection
-
setDescription
- Specified by:
setDescription
in interfaceIManagedItemCollection
-
setIdentifier
- Specified by:
setIdentifier
in interfaceIManagedItemCollection
-
setSource
- Specified by:
setSource
in interfaceIManagedItemCollection
-
setTitle
- Specified by:
setTitle
in interfaceIManagedItemCollection
-
setBelongsTo
- Specified by:
setBelongsTo
in interfaceIManagedItemCollection
-
setCollects
- Specified by:
setCollects
in interfaceIManagedItemCollection
-