Class Contribution
- java.lang.Object
-
- org.eclipse.lyo.oslc4j.core.model.AbstractResource
-
- com.sodius.oslc.domain.config.model.Contribution
-
- All Implemented Interfaces:
IExtendedResource
,IResource
@OslcNamespace("http://open-services.net/ns/config#") @OslcResourceShape(title="Contribution Resource Shape", describes="http://open-services.net/ns/config#Contribution") public class Contribution extends AbstractResource
A configuration that is a member of the set of configurations making up a configuration.See the OSLC Configuration Management specification for details:
https://tools.oasis-open.org/version-control/browse/wsvn/oslc-core/trunk/specs/config/oslc-config-mgt.html- Since:
- 1.1.0
-
-
Constructor Summary
Constructors Constructor Description Contribution()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URI
getConfiguration()
String
getContributionOrder()
URI
getOverrides()
void
setConfiguration(URI configuration)
void
setContributionOrder(String contributionOrder)
void
setOverrides(URI overrides)
-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Method Detail
-
getConfiguration
@OslcDescription("The contributed configuration. This property is read-only for contributions to a baseline, and modifiable for contributions to a stream.") @OslcPropertyDefinition("http://open-services.net/ns/config#configuration") @OslcTitle("Configuration") @OslcName("configuration") @OslcOccurs(ExactlyOne) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcRange("http://open-services.net/ns/config#Configuration") public URI getConfiguration()
-
setConfiguration
public void setConfiguration(URI configuration)
-
getContributionOrder
@OslcDescription("An indication of the order of the contribution, relative to other contributions.") @OslcPropertyDefinition("http://open-services.net/ns/config#contributionOrder") @OslcTitle("ContributionOrder") @OslcName("contributionOrder") @OslcOccurs(ExactlyOne) @OslcValueType(String) public String getContributionOrder()
-
setContributionOrder
public void setContributionOrder(String contributionOrder)
-
getOverrides
@OslcDescription("A reference to a configuration modified by a change set configuration.") @OslcPropertyDefinition("http://open-services.net/ns/config#overrides") @OslcTitle("Overrides") @OslcName("overrides") @OslcOccurs(ExactlyOne) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcRange("http://open-services.net/ns/config#Configuration") public URI getOverrides()
-
setOverrides
public void setOverrides(URI overrides)
-
-