Class Source
- java.lang.Object
-
- org.opennms.netmgt.measurements.model.Source
-
public class Source extends Object
Measurement source.- Author:
- Jesse White
, Dustin Frisch
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getAggregation()
String
getAttribute()
String
getDataSource()
String
getEffectiveDataSource()
In order to preserve backwards compatibility, we allow the datasource field to be null.String
getFallbackAttribute()
String
getLabel()
String
getResourceId()
boolean
getTransient()
int
hashCode()
void
setAggregation(String aggregation)
void
setAttribute(String attribute)
void
setDataSource(String datasource)
void
setFallbackAttribute(String fallbackAttribute)
void
setLabel(String label)
void
setResourceId(String resourceId)
void
setTransient(boolean isTransient)
String
toString()
-
-
-
Method Detail
-
getLabel
public String getLabel()
-
setLabel
public void setLabel(String label)
-
getResourceId
public String getResourceId()
-
setResourceId
public void setResourceId(String resourceId)
-
getAttribute
public String getAttribute()
-
setAttribute
public void setAttribute(String attribute)
-
getFallbackAttribute
public String getFallbackAttribute()
-
setFallbackAttribute
public void setFallbackAttribute(String fallbackAttribute)
-
getDataSource
public String getDataSource()
-
setDataSource
public void setDataSource(String datasource)
-
getEffectiveDataSource
public String getEffectiveDataSource()
In order to preserve backwards compatibility, we allow the datasource field to be null.
-
getAggregation
public String getAggregation()
-
setAggregation
public void setAggregation(String aggregation)
-
getTransient
public boolean getTransient()
-
setTransient
public void setTransient(boolean isTransient)
-
-