public class Owner extends Object implements Serializable
Constructor and Description |
---|
Owner()
Constructs a new
Owner without specifying an ID or display name. |
Owner(String id,
String displayName)
Constructs a new
Owner with the specified ID and display name. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getDisplayName()
Gets the display name of the owner.
|
String |
getId()
Gets the ID of the owner.
|
int |
hashCode() |
void |
setDisplayName(String name)
Sets the display name of the owner.
|
void |
setId(String id)
Sets the ID of the owner.
|
String |
toString() |
public Owner()
Constructs a new Owner
without specifying an ID or display name.
public String getId()
Gets the ID of the owner.
setId(String)
public void setId(String id)
Sets the ID of the owner.
id
- The ID of the owner.getId()
public String getDisplayName()
Gets the display name of the owner.
setDisplayName(String)
public void setDisplayName(String name)
Sets the display name of the owner.
name
- The display name of the owner.getDisplayName()
Copyright © 2010–2017. All rights reserved.