org.opennms.features.poller.remote.gwt.client
Class ApplicationInfo

java.lang.Object
  extended by org.opennms.features.poller.remote.gwt.client.ApplicationInfo
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable, Serializable, Comparable<ApplicationInfo>

public class ApplicationInfo
extends Object
implements Serializable, com.google.gwt.user.client.rpc.IsSerializable, Comparable<ApplicationInfo>

ApplicationInfo class.

Since:
1.8.1
Version:
$Id: $
Author:
ranger
See Also:
Serialized Form

Constructor Summary
ApplicationInfo()
          Constructor for ApplicationInfo.
ApplicationInfo(int id, String name, Set<GWTMonitoredService> services, Set<String> locationNames, StatusDetails statusDetails)
          Constructor for ApplicationInfo.
 
Method Summary
 void addLocation(String name)
          addLocation
 int compareTo(ApplicationInfo that)
          compareTo
 boolean equals(Object aThat)
          
 Integer getId()
          getId
 Set<String> getLocations()
          getLocations
 GWTMarkerState getMarkerState()
          getMarkerState
 String getName()
          getName
 Long getPriority()
          getPriority
 Set<GWTMonitoredService> getServices()
          getServices
 StatusDetails getStatusDetails()
          getStatusDetails
 int hashCode()
          hashCode
 void setId(Integer id)
          setId
 void setLocations(Set<String> locations)
          setLocations
 void setName(String name)
          setName
 void setPriority(Long priority)
          setPriority
 void setServices(Set<GWTMonitoredService> services)
          setServices
 void setStatusDetails(StatusDetails statusDetails)
          setStatusDetails
 String summary()
          summary
 String toString()
          toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApplicationInfo

public ApplicationInfo()

Constructor for ApplicationInfo.


ApplicationInfo

public ApplicationInfo(int id,
                       String name,
                       Set<GWTMonitoredService> services,
                       Set<String> locationNames,
                       StatusDetails statusDetails)

Constructor for ApplicationInfo.

Parameters:
id - a int.
name - a String object.
services - a Set object.
locationNames - a Set object.
statusDetails - a StatusDetails object.
Method Detail

getId

public Integer getId()

getId

Returns:
a Integer object.

setId

public void setId(Integer id)

setId

Parameters:
id - a Integer object.

getName

public String getName()

getName

Returns:
a String object.

setName

public void setName(String name)

setName

Parameters:
name - a String object.

getServices

public Set<GWTMonitoredService> getServices()

getServices

Returns:
a Set object.

setServices

public void setServices(Set<GWTMonitoredService> services)

setServices

Parameters:
services - a Set object.

getLocations

public Set<String> getLocations()

getLocations

Returns:
a Set object.

setLocations

public void setLocations(Set<String> locations)

setLocations

Parameters:
locations - a Set object.

addLocation

public void addLocation(String name)

addLocation

Parameters:
name - a String object.

getStatusDetails

public StatusDetails getStatusDetails()

getStatusDetails

Returns:
a StatusDetails object.

setStatusDetails

public void setStatusDetails(StatusDetails statusDetails)

setStatusDetails

Parameters:
statusDetails - a StatusDetails object.

getPriority

public Long getPriority()

getPriority

Returns:
a Long object.

setPriority

public void setPriority(Long priority)

setPriority

Parameters:
priority - a Long object.

getMarkerState

public GWTMarkerState getMarkerState()

getMarkerState

Returns:
a GWTMarkerState object.

equals

public boolean equals(Object aThat)

Overrides:
equals in class Object

hashCode

public int hashCode()

hashCode

Overrides:
hashCode in class Object
Returns:
a int.

compareTo

public int compareTo(ApplicationInfo that)

compareTo

Specified by:
compareTo in interface Comparable<ApplicationInfo>
Parameters:
that - a ApplicationInfo object.
Returns:
a int.

summary

public String summary()

summary

Returns:
a String object.

toString

public String toString()

toString

Overrides:
toString in class Object
Returns:
a String object.


Copyright © 2011. All Rights Reserved.