org.opennms.netmgt.model
Class PrefabGraph

java.lang.Object
  extended by org.opennms.netmgt.model.PrefabGraph
All Implemented Interfaces:
Comparable<PrefabGraph>

public class PrefabGraph
extends Object
implements Comparable<PrefabGraph>


Constructor Summary
PrefabGraph(String name, String title, String[] columns, String command, String[] externalValues, String[] propertiesValues, int order, String[] types, String description, Integer graphWidth, Integer graphHeight, String[] suppress)
           
 
Method Summary
 int compareTo(PrefabGraph other)
           
 String[] getColumns()
           
 String getCommand()
           
 String getDescription()
          Can be null.
 String[] getExternalValues()
           
 Integer getGraphHeight()
          Can be null.
 Integer getGraphWidth()
          Can be null.
 String getName()
           
 int getOrder()
           
 String[] getPropertiesValues()
           
 String[] getSuppress()
           
 String getTitle()
           
 String[] getTypes()
          Can be null.
 boolean hasMatchingType(String... matchingTypes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrefabGraph

public PrefabGraph(String name,
                   String title,
                   String[] columns,
                   String command,
                   String[] externalValues,
                   String[] propertiesValues,
                   int order,
                   String[] types,
                   String description,
                   Integer graphWidth,
                   Integer graphHeight,
                   String[] suppress)
Method Detail

getName

public String getName()

getTitle

public String getTitle()

getOrder

public int getOrder()

getColumns

public String[] getColumns()

getCommand

public String getCommand()

getExternalValues

public String[] getExternalValues()

getPropertiesValues

public String[] getPropertiesValues()
Returns:
list of required string properties
See Also:
StringPropertyAttribute

getTypes

public String[] getTypes()
Can be null.


hasMatchingType

public boolean hasMatchingType(String... matchingTypes)

getDescription

public String getDescription()
Can be null.


getGraphWidth

public Integer getGraphWidth()
Can be null.


getGraphHeight

public Integer getGraphHeight()
Can be null.


getSuppress

public String[] getSuppress()

compareTo

public int compareTo(PrefabGraph other)
Specified by:
compareTo in interface Comparable<PrefabGraph>


Copyright © 2009. All Rights Reserved.