Interface Answer
- All Superinterfaces:
Card
- All Known Implementing Classes:
AnswerImpl
-
Method Summary
Modifier and TypeMethodDescriptionUsers are able to flag an answer to request a check in case the have doubts that the answer is correct.Comments left on the answerEach answer is referred to a specific companyEach Answer is linked to a specific metric.Each Answer is linked to a specific metric.Each Answer also provides the record url which the user can call to get all the answers of the company on the question (metric) the answer is referring toEach Answer must cite one or more sources.getValue()Each Answer on a question (metric) has a value.<T> TEach Answer on a question (metric) has a value.getYear()Each answer is referred to a specific yearMethods inherited from interface Card
getCodename, getContent, getContent, getCreatedAt, getHtmlURL, getId, getName, getRequestedAt, getUpdatedAt, getURL, raw_json, toJson
-
Method Details
-
getMetricName
String getMetricName()Each Answer is linked to a specific metric. The metric names consists of the metric name and the metric designer.- Returns:
- the name of the metric the answer is linked to
-
getMetricDesigner
String getMetricDesigner()Each Answer is linked to a specific metric. The metric names consists of the metric name and the metric designer.- Returns:
- the name of the metric designer
-
getCompany
-
getYear
Integer getYear()Each answer is referred to a specific year- Returns:
- the year the answer is referring to
-
getValue
Each Answer on a question (metric) has a value. This method returns the value given the class type of the value by the user- Type Parameters:
T-- Parameters:
classType-- Returns:
- the value transformed in the given classType
-
getValue
String getValue()Each Answer on a question (metric) has a value. This method returns the answer value as a string.- Returns:
- the answer value
-
getRecordURL
String getRecordURL()Each Answer also provides the record url which the user can call to get all the answers of the company on the question (metric) the answer is referring to- Returns:
- the url of the answers record
-
getSources
List<SourceReference> getSources()Each Answer must cite one or more sources. The sources can link to a website or document that the answer came from.- Returns:
- a list of sources
-
getCheckedBy
-
getComments
-