Class Source


  • public class Source
    extends Object
    Measurement source.
    Author:
    Jesse White , Dustin Frisch
    • Constructor Detail

      • Source

        public Source()
      • Source

        public Source​(String label,
                      String resourceId,
                      String attribute,
                      String datasource,
                      boolean isTransient)
    • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object