Class ComponentContainer
- java.lang.Object
-
- org.eclipse.lyo.oslc4j.core.model.AbstractResource
-
- com.sodius.oslc.core.ldp.model.Container<Component>
-
- com.sodius.oslc.domain.config.model.ComponentContainer
-
- All Implemented Interfaces:
IExtendedResource,IResource
@OslcName("Container") @OslcNamespace("http://www.w3.org/ns/ldp#") @OslcResourceShape(title="Container<Component> Resource Shape", describes="http://www.w3.org/ns/ldp#Container") public class ComponentContainer extends Container<Component>
A Container for Component artifacts.- Since:
- 1.1.1
-
-
Constructor Summary
Constructors Constructor Description ComponentContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMember(Component member)Add a new member into the containerComponent[]getMembers()Returns the Component artifacts within the containervoidsetMembers(Component[] 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 Component[] getMembers()
Returns the Component artifacts within the container- Specified by:
getMembersin classContainer<Component>- Returns:
- the array of Component within the container
-
setMembers
public void setMembers(Component[] members)
Description copied from class:ContainerSets the members of the container- Overrides:
setMembersin classContainer<Component>- Parameters:
members- the new members of the container
-
-