public class Owner
extends java.lang.Object
implements java.io.Serializable
构造器和说明 |
---|
Owner()
Constructor
|
Owner(java.lang.String id,
java.lang.String displayName)
Constructor
|
限定符和类型 | 方法和说明 |
---|---|
boolean |
equals(java.lang.Object obj)
Checks if 'this' object is same as the specified one.
|
java.lang.String |
getDisplayName()
Gets the owner's display name
|
java.lang.String |
getId()
Gets the owner Id
|
int |
hashCode()
Gets the hash code of the 'this' object
|
void |
setDisplayName(java.lang.String name)
Sets the owner's display name
|
void |
setId(java.lang.String id)
Sets the owner Id
|
java.lang.String |
toString()
Returns the serialization string.
|
public Owner()
public Owner(java.lang.String id, java.lang.String displayName)
id
- Owner IddisplayName
- Display namepublic java.lang.String toString()
toString
在类中 java.lang.Object
public java.lang.String getId()
public void setId(java.lang.String id)
id
- The owner Idpublic java.lang.String getDisplayName()
public void setDisplayName(java.lang.String name)
name
- The owner's display namepublic boolean equals(java.lang.Object obj)
equals
在类中 java.lang.Object
public int hashCode()
hashCode
在类中 java.lang.Object