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
-
-
Constructor Summary
Constructors Constructor Description AccessContextList()
AccessContextList(URI uri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMember(AccessContext member)
Add a new member into the containerAccessContext[]
getMembers()
Returns the AccessContext artifacts within the list.void
setMembers(AccessContext[] 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
-
-
-
-
Constructor Detail
-
AccessContextList
public AccessContextList()
-
AccessContextList
public AccessContextList(URI uri)
-
-
Method Detail
-
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:
getMembers
in classContainer<AccessContext>
- Returns:
- the array of AccessContext artifacts within the list.
-
setMembers
public void setMembers(AccessContext[] members)
Description copied from class:Container
Sets the members of the container- Overrides:
setMembers
in classContainer<AccessContext>
- Parameters:
members
- the new members of the container
-
addMember
public void addMember(AccessContext member)
Description copied from class:Container
Add a new member into the container- Overrides:
addMember
in classContainer<AccessContext>
- Parameters:
member
- the new member of the container
-
-