public class SourceObject
Object of each source.
| Constructor and Description |
|---|
SourceObject(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String url,
java.lang.String category,
java.lang.String language,
java.lang.String country)
Object of each source.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
component1()
Identifier of the source
|
java.lang.String |
component2()
Name of the source
|
java.lang.String |
component3()
Short description of the source
|
java.lang.String |
component4()
Direct link to the source
|
java.lang.String |
component5()
The main category that the source does
|
java.lang.String |
component6()
Language the source uses
|
java.lang.String |
component7()
The source
|
SourceObject |
copy(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String url,
java.lang.String category,
java.lang.String language,
java.lang.String country)
Object of each source.
|
boolean |
equals(java.lang.Object p) |
java.lang.String |
getCategory()
The main category that the source does
|
java.lang.String |
getCountry()
The source
|
java.lang.String |
getDescription()
Short description of the source
|
java.lang.String |
getId()
Identifier of the source
|
java.lang.String |
getLanguage()
Language the source uses
|
java.lang.String |
getName()
Name of the source
|
java.lang.String |
getUrl()
Direct link to the source
|
int |
hashCode() |
java.lang.String |
toString() |
public SourceObject(@NotNull
java.lang.String id,
@NotNull
java.lang.String name,
@NotNull
java.lang.String description,
@NotNull
java.lang.String url,
@NotNull
java.lang.String category,
@NotNull
java.lang.String language,
@NotNull
java.lang.String country)
Object of each source.
id - Identifier of the sourcename - Name of the sourcedescription - Short description of the sourceurl - Direct link to the source's websitecategory - The main category that the source doeslanguage - Language the source usescountry - The source's country of origin@NotNull public java.lang.String getId()
Identifier of the source
@NotNull public java.lang.String getName()
Name of the source
@NotNull public java.lang.String getDescription()
Short description of the source
@NotNull public java.lang.String getUrl()
Direct link to the source
's website
@NotNull public java.lang.String getCategory()
The main category that the source does
@NotNull public java.lang.String getLanguage()
Language the source uses
@NotNull public java.lang.String getCountry()
The source
's country of origin
@NotNull public java.lang.String component1()
Identifier of the source
@NotNull public java.lang.String component2()
Name of the source
@NotNull public java.lang.String component3()
Short description of the source
@NotNull public java.lang.String component4()
Direct link to the source
's website
@NotNull public java.lang.String component5()
The main category that the source does
@NotNull public java.lang.String component6()
Language the source uses
@NotNull public java.lang.String component7()
The source
's country of origin
@NotNull public SourceObject copy(@NotNull java.lang.String id, @NotNull java.lang.String name, @NotNull java.lang.String description, @NotNull java.lang.String url, @NotNull java.lang.String category, @NotNull java.lang.String language, @NotNull java.lang.String country)
Object of each source.
id - Identifier of the sourcename - Name of the sourcedescription - Short description of the sourceurl - Direct link to the source's websitecategory - The main category that the source doeslanguage - Language the source usescountry - The source's country of origin@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)