Class SourceImpl
java.lang.Object
org.wikirate4j.entitities.CardImpl
org.wikirate4j.entitities.SourceImpl
- All Implemented Interfaces:
Card, Source, SourceReference
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionA list of Answers the source is linked toA List of Companies the source is referred to.A given description of the SourcegetFile()Returns the URL of the Source filegetLink()Returns the url of the original sourceA list of Metrics the source has answersgetTitle()Returns the title of the SourcegetYears()Lists the years the source referred to.org.json.JSONObjecttoJson()toString()Methods inherited from class CardImpl
getCodename, getContent, getContent, getCreatedAt, getHtmlURL, getId, getName, getRequestedAt, getUpdatedAt, getURL, raw_jsonMethods inherited from interface Card
getCodename, getContent, getContent, getCreatedAt, getHtmlURL, getId, getName, getRequestedAt, getUpdatedAt, getURL, raw_json
-
Method Details
-
getTitle
-
getFile
-
getLink
-
getReportTypes
- Specified by:
getReportTypesin interfaceSource
-
getYears
-
getDescription
Description copied from interface:SourceA given description of the Source- Specified by:
getDescriptionin interfaceSource- Returns:
- a description
-
getCompanies
Description copied from interface:SourceA List of Companies the source is referred to.- Specified by:
getCompaniesin interfaceSource- Returns:
- a list of company names
-
getMetrics
Description copied from interface:SourceA list of Metrics the source has answers- Specified by:
getMetricsin interfaceSource- Returns:
- a list of metric names
-
getAnswers
Description copied from interface:SourceA list of Answers the source is linked to- Specified by:
getAnswersin interfaceSource- Returns:
- a list of answer names
-
asReference
- Specified by:
asReferencein interfaceSourceReference
-
toJson
-
toString
-