Class ManagedObjectReferenceCollectionRepresentation
- java.lang.Object
-
- com.cumulocity.rest.representation.BaseResourceRepresentation
-
- com.cumulocity.rest.representation.AbstractExtensibleRepresentation
-
- com.cumulocity.rest.representation.BaseResourceWithExplainRepresentation
-
- com.cumulocity.rest.representation.BaseCollectionRepresentation<ManagedObjectReferenceRepresentation>
-
- com.cumulocity.rest.representation.inventory.ManagedObjectReferenceCollectionRepresentation
-
- All Implemented Interfaces:
ResourceRepresentation
,Iterable<ManagedObjectReferenceRepresentation>
,org.svenson.DynamicProperties
- Direct Known Subclasses:
PagedManagedObjectReferenceCollectionRepresentation
public class ManagedObjectReferenceCollectionRepresentation extends BaseCollectionRepresentation<ManagedObjectReferenceRepresentation>
-
-
Constructor Summary
Constructors Constructor Description ManagedObjectReferenceCollectionRepresentation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getCount()
List<ManagedObjectReferenceRepresentation>
getReferences()
Iterator<ManagedObjectReferenceRepresentation>
iterator()
void
setCount(Integer count)
void
setReferences(List<ManagedObjectReferenceRepresentation> references)
-
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
-
getReferences
@JSONTypeHint(ManagedObjectReferenceRepresentation.class) public List<ManagedObjectReferenceRepresentation> getReferences()
-
setReferences
public void setReferences(List<ManagedObjectReferenceRepresentation> references)
-
getCount
@JSONProperty(ignoreIfNull=true) public Integer getCount()
-
setCount
public void setCount(Integer count)
-
iterator
@JSONProperty(ignore=true) public Iterator<ManagedObjectReferenceRepresentation> iterator()
-
-