Package com.sodius.oslc.core.acc.model
Class AccessContextList
java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
com.sodius.oslc.core.ldp.model.Container<AccessContext>
com.sodius.oslc.core.acc.model.AccessContextList
- All Implemented Interfaces:
IExtendedResource,IResource
@OslcNamespace("http://open-services.net/ns/core/acc#")
@OslcResourceShape(title="AccessContextList Resource Shape",
describes="http://open-services.net/ns/core/acc#AccessContextList")
public class AccessContextList
extends Container<AccessContext>
Resource describing a list of Access Contexts.
- Since:
- 1.6.0
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMember(AccessContext member) Add a new member into the containerReturns the AccessContext artifacts within the list.voidsetMembers(AccessContext[] 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
-
AccessContextList
public AccessContextList() -
AccessContextList
-
-
Method Details
-
getMembers
@OslcDescription("Members of the container.") @OslcName("member") @OslcPropertyDefinition("http://www.w3.org/ns/ldp#member") @OslcTitle("Member") @OslcValueType(LocalResource) public AccessContext[] getMembers()Returns the AccessContext artifacts within the list.- Specified by:
getMembersin classContainer<AccessContext>- Returns:
- the array of AccessContext artifacts within the list.
-
setMembers
Description copied from class:ContainerSets the members of the container- Overrides:
setMembersin classContainer<AccessContext>- Parameters:
members- the new members of the container
-
addMember
Description copied from class:ContainerAdd a new member into the container- Overrides:
addMemberin classContainer<AccessContext>- Parameters:
member- the new member of the container
-