T
- An IExtendedResource subclass that will be contained within this containerpublic abstract class Container<T extends org.eclipse.lyo.oslc4j.core.model.IExtendedResource>
extends org.eclipse.lyo.oslc4j.core.model.AbstractResource
Constructor and Description |
---|
Container() |
Modifier and Type | Method and Description |
---|---|
void |
addMember(T member)
Add a new member into the container
|
abstract T[] |
getMembers()
Returns the members of the container
Method that must be overridden with the appropriate return type and annotations
|
void |
setMembers(T[] members)
Sets the members of the container
|
public abstract T[] getMembers()
public void setMembers(T[] members)
members
- the new members of the containerpublic void addMember(T member)
member
- the new member of the container