com.cumulocity.model
Class Agent

java.lang.Object
  extended by org.svenson.AbstractDynamicProperties
      extended by com.cumulocity.model.Agent
All Implemented Interfaces:
org.svenson.DynamicProperties

public class Agent
extends org.svenson.AbstractDynamicProperties

Fragment containing agent information.


Constructor Summary
Agent()
           
 
Method Summary
 String getAddress()
           
 Integer getPort()
           
 Boolean getPrimary()
           
 void setAddress(String address)
           
 void setPort(Integer port)
           
 void setPrimary(Boolean primary)
           
 
Methods inherited from class org.svenson.AbstractDynamicProperties
getProperty, propertyNames, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Agent

public Agent()
Method Detail

getAddress

@JSONProperty(value="address",
              ignoreIfNull=true)
public String getAddress()

setAddress

public void setAddress(String address)

getPort

@JSONProperty(value="port",
              ignoreIfNull=true)
public Integer getPort()

setPort

public void setPort(Integer port)

getPrimary

@JSONProperty(value="primary",
              ignoreIfNull=true)
public Boolean getPrimary()

setPrimary

public void setPrimary(Boolean primary)


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