Class ChangeSet
java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
org.eclipse.lyo.oslc.domains.config.Configuration
org.eclipse.lyo.oslc.domains.config.ChangeSet
- All Implemented Interfaces:
IChangeSet
,IConfiguration
,IExtendedResource
,IResource
@OslcNamespace("http://open-services.net/ns/config#")
@OslcName("ChangeSet")
@OslcResourceShape(title="ChangeSet Shape",
describes="http://open-services.net/ns/config#ChangeSet")
public class ChangeSet
extends Configuration
implements IChangeSet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAccepts
(Link accepts) static ResourceShape
void
setAccepts
(Set<Link> accepts) void
setOverrides
(Link overrides) toString()
toString
(boolean asLocalResource) Methods inherited from class org.eclipse.lyo.oslc.domains.config.Configuration
addAcceptedBy, addContributor, addCreator, addInstanceShape, addModifiedBy, addRelease, addSelections, addServiceProvider, addSubject, getAcceptedBy, getBranch, getComponent, getContribution, getContributor, getCreated, getCreator, getDescription, getIdentifier, getInstanceShape, getModified, getModifiedBy, getRelease, getSelections, getServiceProvider, getShortId, getShortTitle, getSubject, getTitle, isArchived, setAcceptedBy, setArchived, setBranch, setComponent, setContribution, setContributor, setCreated, setCreator, setDescription, setIdentifier, setInstanceShape, setModified, setModifiedBy, setRelease, setSelections, setServiceProvider, setShortId, setShortTitle, setSubject, setTitle
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
Constructor Details
-
ChangeSet
public ChangeSet() -
ChangeSet
-
-
Method Details
-
createResourceShape
public static ResourceShape createResourceShape() throws OslcCoreApplicationException, URISyntaxException -
toString
- Overrides:
toString
in classConfiguration
-
toString
- Overrides:
toString
in classConfiguration
-
addAccepts
- Specified by:
addAccepts
in interfaceIChangeSet
-
getAccepts
@OslcName("accepts") @OslcPropertyDefinition("http://open-services.net/ns/config#accepts") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRange("http://www.w3.org/2000/01/rdf-schema#RdfsClass") @OslcReadOnly(false) public Set<Link> getAccepts()- Specified by:
getAccepts
in interfaceIChangeSet
-
getOverrides
@OslcName("overrides") @OslcPropertyDefinition("http://open-services.net/ns/config#overrides") @OslcOccurs(ExactlyOne) @OslcValueType(Resource) @OslcRange("http://open-services.net/ns/config#Configuration") @OslcReadOnly(false) public Link getOverrides()- Specified by:
getOverrides
in interfaceIChangeSet
-
setAccepts
- Specified by:
setAccepts
in interfaceIChangeSet
-
setOverrides
- Specified by:
setOverrides
in interfaceIChangeSet
-