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
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a new member into the containerReturns the Component artifacts within the containervoidsetMembers(Component[] members) Sets the members of the containerMethods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
Constructor Details
-
ComponentContainer
public ComponentContainer()
-
-
Method Details
-
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
Description copied from class:ContainerSets the members of the container- Overrides:
setMembersin classContainer<Component>- Parameters:
members- the new members of the container
-
addMember
Description copied from class:ContainerAdd a new member into the container
-