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>

PrefabGraph class.

Version:
$Id: $
Author:
ranger

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)
          Constructor for PrefabGraph.
 
Method Summary
 int compareTo(PrefabGraph other)
          compareTo
 String[] getColumns()
          getColumns
 String getCommand()
          getCommand
 String getDescription()
          Can be null.
 String[] getExternalValues()
          getExternalValues
 Integer getGraphHeight()
          Can be null.
 Integer getGraphWidth()
          Can be null.
 String getName()
          getName
 int getOrder()
          getOrder
 String[] getPropertiesValues()
          getPropertiesValues
 String[] getSuppress()
          getSuppress
 String getTitle()
          getTitle
 String[] getTypes()
          Can be null.
 boolean hasMatchingType(String... matchingTypes)
          hasMatchingType
 
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)

Constructor for PrefabGraph.

Parameters:
name - a String object.
title - a String object.
columns - an array of String objects.
command - a String object.
externalValues - an array of String objects.
propertiesValues - an array of String objects.
order - a int.
types - an array of String objects.
description - a String object.
graphWidth - a Integer object.
graphHeight - a Integer object.
suppress - an array of String objects.
Method Detail

getName

public String getName()

getName

Returns:
a String object.

getTitle

public String getTitle()

getTitle

Returns:
a String object.

getOrder

public int getOrder()

getOrder

Returns:
a int.

getColumns

public String[] getColumns()

getColumns

Returns:
an array of String objects.

getCommand

public String getCommand()

getCommand

Returns:
a String object.

getExternalValues

public String[] getExternalValues()

getExternalValues

Returns:
an array of String objects.

getPropertiesValues

public String[] getPropertiesValues()

getPropertiesValues

Returns:
list of required string properties
See Also:
StringPropertyAttribute

getTypes

public String[] getTypes()
Can be null.

Returns:
an array of String objects.

hasMatchingType

public boolean hasMatchingType(String... matchingTypes)

hasMatchingType

Parameters:
matchingTypes - a String object.
Returns:
a boolean.

getDescription

public String getDescription()
Can be null.

Returns:
a String object.

getGraphWidth

public Integer getGraphWidth()
Can be null.

Returns:
a Integer object.

getGraphHeight

public Integer getGraphHeight()
Can be null.

Returns:
a Integer object.

getSuppress

public String[] getSuppress()

getSuppress

Returns:
an array of String objects.

compareTo

public int compareTo(PrefabGraph other)

compareTo

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


Copyright © 2011. All Rights Reserved.