Class ConfigurationContainer
- java.lang.Object
-
- org.eclipse.lyo.oslc4j.core.model.AbstractResource
-
- com.sodius.oslc.core.ldp.model.Container<Configuration>
-
- com.sodius.oslc.domain.config.model.ConfigurationContainer
-
- All Implemented Interfaces:
IExtendedResource
,IResource
@OslcName("Container") @OslcNamespace("http://www.w3.org/ns/ldp#") @OslcResourceShape(title="Container<Configuration> Resource Shape", describes="http://www.w3.org/ns/ldp#Container") public class ConfigurationContainer extends Container<Configuration>
A Container for Configuration artifacts.- Since:
- 1.1.1
-
-
Constructor Summary
Constructors Constructor Description ConfigurationContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMember(Configuration member)
Add a new member into the containerConfiguration[]
getMembers()
Returns the Configuration artifacts within the containervoid
setMembers(Configuration[] members)
Sets the members of the container-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Method Detail
-
getMembers
@OslcDescription("Members of the container.") @OslcName("member") @OslcPropertyDefinition("http://www.w3.org/ns/ldp#member") @OslcTitle("Member") @OslcValueType(LocalResource) public Configuration[] getMembers()
Returns the Configuration artifacts within the container- Specified by:
getMembers
in classContainer<Configuration>
- Returns:
- the array of Configuration within the container
-
setMembers
public void setMembers(Configuration[] members)
Description copied from class:Container
Sets the members of the container- Overrides:
setMembers
in classContainer<Configuration>
- Parameters:
members
- the new members of the container
-
addMember
public void addMember(Configuration member)
Description copied from class:Container
Add a new member into the container- Overrides:
addMember
in classContainer<Configuration>
- Parameters:
member
- the new member of the container
-
-