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 voidaddMember(Configuration member)Add a new member into the containerConfiguration[]getMembers()Returns the Configuration artifacts within the containervoidsetMembers(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:
getMembersin classContainer<Configuration>- Returns:
- the array of Configuration within the container
-
setMembers
public void setMembers(Configuration[] members)
Description copied from class:ContainerSets the members of the container- Overrides:
setMembersin classContainer<Configuration>- Parameters:
members- the new members of the container
-
addMember
public void addMember(Configuration member)
Description copied from class:ContainerAdd a new member into the container- Overrides:
addMemberin classContainer<Configuration>- Parameters:
member- the new member of the container
-
-