public final class App
extends Object
Constructor and Description |
---|
App(long id,
String name)
Creates a new
App instance. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long |
getId()
The App ID.
|
String |
getName()
The name of the App.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"id","name"}) public App(long id, String name)
App
instance.id
- The App ID.name
- The name of the App.public long getId()
public String getName()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object