public class ArticleSourceEntity
Data about the article's source
| Constructor and Description |
|---|
ArticleSourceEntity(java.lang.String id,
java.lang.String name)
Data about the article's source
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
component1()
Identifier of the source
|
java.lang.String |
component2()
Name of the source
|
ArticleSourceEntity |
copy(java.lang.String id,
java.lang.String name)
Data about the article's source
|
boolean |
equals(java.lang.Object p) |
java.lang.String |
getId()
Identifier of the source
|
java.lang.String |
getName()
Name of the source
|
int |
hashCode() |
java.lang.String |
toString() |
public ArticleSourceEntity(@Nullable
java.lang.String id,
@NotNull
java.lang.String name)
Data about the article's source
id - Identifier of the sourcename - Name of the source@Nullable public java.lang.String getId()
Identifier of the source
@NotNull public java.lang.String getName()
Name of the source
@Nullable public java.lang.String component1()
Identifier of the source
@NotNull public java.lang.String component2()
Name of the source
@NotNull public ArticleSourceEntity copy(@Nullable java.lang.String id, @NotNull java.lang.String name)
Data about the article's source
id - Identifier of the sourcename - Name of the source@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)