Class RoleCollectionRepresentation
- java.lang.Object
-
- com.cumulocity.rest.representation.BaseResourceRepresentation
-
- com.cumulocity.rest.representation.AbstractExtensibleRepresentation
-
- com.cumulocity.rest.representation.BaseResourceWithExplainRepresentation
-
- com.cumulocity.rest.representation.BaseCollectionRepresentation<RoleRepresentation>
-
- com.cumulocity.rest.representation.user.RoleCollectionRepresentation
-
- All Implemented Interfaces:
ResourceRepresentation
,Iterable<RoleRepresentation>
,org.svenson.DynamicProperties
public class RoleCollectionRepresentation extends BaseCollectionRepresentation<RoleRepresentation>
-
-
Constructor Summary
Constructors Constructor Description RoleCollectionRepresentation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<RoleRepresentation>
getRoles()
Iterator<RoleRepresentation>
iterator()
void
setRoles(List<RoleRepresentation> roles)
-
Methods inherited from class com.cumulocity.rest.representation.BaseCollectionRepresentation
getNext, getPageStatistics, getPrev, setNext, setPageStatistics, setPrev
-
Methods inherited from class com.cumulocity.rest.representation.BaseResourceWithExplainRepresentation
getQueryPlanner, setQueryPlanner
-
Methods inherited from class com.cumulocity.rest.representation.AbstractExtensibleRepresentation
get, get, getAttrs, getProperty, hasProperty, propertyNames, removeProperty, set, set, set, setAttrs, setProperty
-
Methods inherited from class com.cumulocity.rest.representation.BaseResourceRepresentation
getSelf, getSelfDecoded, setSelf, toJSON, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
getRoles
public List<RoleRepresentation> getRoles()
-
setRoles
@JSONTypeHint(RoleRepresentation.class) public void setRoles(List<RoleRepresentation> roles)
-
iterator
@JSONProperty(ignore=true) public Iterator<RoleRepresentation> iterator()
-
-