Class MetricImpl
java.lang.Object
org.wikirate4j.entitities.CardImpl
org.wikirate4j.entitities.MetricImpl
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiongetAbout()Returns some more details about the metric (why this metric is important and how it is/can be used)The URL the user can find the answers of the metricAssessment type is applied on researched metrics, the research can either Community Assessed (anyone can research answers) or Steward Assessed (only stewards can research answers)List of metric names the metric is used for additional calculationsIn case of a Formula metric type a formula is also defined in coffescriptDescription about how to research the answerEach metric has a designer, individuals or organizations are the most common designers of metrics on WikirateEach metric has a name which represents a shorter version of the questioned asked.There are different metric types.Number of answers this metric has.Number of users that bookmarked the metricNumber of companies answer the question (metric)Number of datasets the metric is included inReturns the question linked to the metricgetRange()In case of Number value type a range of values might also be defined (e.g.Report Type where the answers of the metric can be found in.A list of topics under other frameworks (e.g.A list of topics under Wikirate ESG Topic framework related to the metricgetUnit()In case of Number value type a unit might also be defined.In case of a category on a multicategory value type, a list of value options is also defined.There are different value types allowed on metrics.In case of a Formula metric type a number of variables are defined and used in the coffescript formula.org.json.JSONObjectraw_json()org.json.JSONObjecttoJson()toString()Methods inherited from class CardImpl
getCodename, getContent, getContent, getCreatedAt, getHtmlURL, getId, getName, getRequestedAt, getUpdatedAt, getURLMethods inherited from interface Card
getCodename, getContent, getContent, getCreatedAt, getHtmlURL, getId, getName, getRequestedAt, getUpdatedAt, getURL
-
Method Details
-
raw_json
-
getMetricDesigner
Description copied from interface:MetricEach metric has a designer, individuals or organizations are the most common designers of metrics on Wikirate- Specified by:
getMetricDesignerin interfaceMetric- Returns:
- the name of the metric designer
-
getMetricName
Description copied from interface:MetricEach metric has a name which represents a shorter version of the questioned asked.- Specified by:
getMetricNamein interfaceMetric- Returns:
- the name of the metric
-
getMetricType
Description copied from interface:MetricThere are different metric types. All the different options of a metric type can be found in enum classMetricType- Specified by:
getMetricTypein interfaceMetric- Returns:
- the metric type of the metric
-
getQuestion
Description copied from interface:MetricReturns the question linked to the metric- Specified by:
getQuestionin interfaceMetric- Returns:
- the question
-
getAbout
-
getMethodology
Description copied from interface:MetricDescription about how to research the answer- Specified by:
getMethodologyin interfaceMetric- Returns:
- a string
-
getValueType
-
getValueOptions
Description copied from interface:MetricIn case of a category on a multicategory value type, a list of value options is also defined.- Specified by:
getValueOptionsin interfaceMetric- Returns:
- a list of the value options
-
getReportType
Description copied from interface:MetricReport Type where the answers of the metric can be found in.- Specified by:
getReportTypein interfaceMetric- Returns:
ReportType
-
getAssessmentType
Description copied from interface:MetricAssessment type is applied on researched metrics, the research can either Community Assessed (anyone can research answers) or Steward Assessed (only stewards can research answers)- Specified by:
getAssessmentTypein interfaceMetric- Returns:
AssessmentType
-
getUnit
-
getRange
-
getTopics
Description copied from interface:MetricA list of topics under Wikirate ESG Topic framework related to the metric -
getTopicFrameworks
Description copied from interface:MetricA list of topics under other frameworks (e.g. GRI Standards, ESRS Standards etc) related to the metric- Specified by:
getTopicFrameworksin interfaceMetric- Returns:
- list of topic names
-
getFormula
Description copied from interface:MetricIn case of a Formula metric type a formula is also defined in coffescript- Specified by:
getFormulain interfaceMetric- Returns:
- the formula in coffescript
-
getVariables
Description copied from interface:MetricIn case of a Formula metric type a number of variables are defined and used in the coffescript formula.- Specified by:
getVariablesin interfaceMetric- Returns:
- a list of variables used on the formula
-
getNumberOfAnswers
Description copied from interface:MetricNumber of answers this metric has.- Specified by:
getNumberOfAnswersin interfaceMetric- Returns:
- the number of answers
-
getNumberOfBookmarkers
Description copied from interface:MetricNumber of users that bookmarked the metric- Specified by:
getNumberOfBookmarkersin interfaceMetric- Returns:
- the number of bookmarkers
-
getNumberOfDatasets
Description copied from interface:MetricNumber of datasets the metric is included in- Specified by:
getNumberOfDatasetsin interfaceMetric- Returns:
- number of datasets
-
getNumberOfCompanies
Description copied from interface:MetricNumber of companies answer the question (metric)- Specified by:
getNumberOfCompaniesin interfaceMetric- Returns:
- number of companies
-
getCalculations
Description copied from interface:MetricList of metric names the metric is used for additional calculations- Specified by:
getCalculationsin interfaceMetric- Returns:
- list of metric names
-
getAnswersURL
Description copied from interface:MetricThe URL the user can find the answers of the metric- Specified by:
getAnswersURLin interfaceMetric- Returns:
- the answers url
-
toJson
-
toString
-