com.cumulocity.rest.representation.inventory
Class InventoryRepresentation

java.lang.Object
  extended by com.cumulocity.rest.representation.BaseResourceRepresentation
      extended by com.cumulocity.rest.representation.inventory.InventoryRepresentation
All Implemented Interfaces:
ResourceRepresentation

public class InventoryRepresentation
extends BaseResourceRepresentation

A Java Representation for the MediaType Inventory, making a compromise between https://startups.jira.com/wiki/display/MTM/Inventory and the example in https://startups.jira.com/wiki/display/MTM/Requests+to+Inventory


Constructor Summary
InventoryRepresentation()
          Default constructor is needed for reflection based class instantiation.
 
Method Summary
 ManagedObjectReferenceCollectionRepresentation getManagedObjects()
           
 String getManagedObjectsForFragmentType()
           
 String getManagedObjectsForListOfIds()
           
 String getManagedObjectsForType()
           
 void setManagedObjects(ManagedObjectReferenceCollectionRepresentation managedObjects)
           
 void setManagedObjectsForFragmentType(String managedObjectsForFragmentType)
           
 void setManagedObjectsForListOfIds(String managedObjectsForListOfIds)
           
 void setManagedObjectsForType(String managedObjectsForType)
           
 
Methods inherited from class com.cumulocity.rest.representation.BaseResourceRepresentation
getSelf, setSelf, toJSON, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InventoryRepresentation

public InventoryRepresentation()
Default constructor is needed for reflection based class instantiation.

Method Detail

getManagedObjectsForType

@JSONProperty(value="managedObjectsForType",
              ignoreIfNull=true)
public final String getManagedObjectsForType()
Returns:
the managedObjectsForType

setManagedObjectsForType

public final void setManagedObjectsForType(String managedObjectsForType)
Parameters:
managedObjectsForType - the managedObjectsForType to set

getManagedObjectsForFragmentType

@JSONProperty(value="managedObjectsForFragmentType",
              ignoreIfNull=true)
public final String getManagedObjectsForFragmentType()
Returns:
the managedObjectsForFragmentType

setManagedObjectsForFragmentType

public final void setManagedObjectsForFragmentType(String managedObjectsForFragmentType)
Parameters:
managedObjectsForFragmentType - the managedObjectsForFragmentType to set

getManagedObjects

@JSONProperty(value="managedObjects",
              ignoreIfNull=false)
public final ManagedObjectReferenceCollectionRepresentation getManagedObjects()
Returns:
the managedObjects

setManagedObjects

public final void setManagedObjects(ManagedObjectReferenceCollectionRepresentation managedObjects)
Parameters:
managedObjects - the managedObjects to set

getManagedObjectsForListOfIds

public String getManagedObjectsForListOfIds()
Returns:
managedObjectsForListOfIds

setManagedObjectsForListOfIds

public void setManagedObjectsForListOfIds(String managedObjectsForListOfIds)
Parameters:
managedObjectsForListOfIds - to be set


Copyright © 2013 (C) Cumulocity GmbH. All Rights Reserved.