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