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 obj) |
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.
Owner(String, String)
public String getId()
Gets the ID of the owner.
Owner.setId(String)
public void setId(String id)
Sets the ID of the owner.
id
- The ID of the owner.Owner.getId()
public String getDisplayName()
Gets the display name of the owner.
Owner.setDisplayName(String)
public void setDisplayName(String name)
Sets the display name of the owner.
name
- The display name of the owner.Owner.getDisplayName()
Copyright © 2024. All rights reserved.