public abstract class GlobalId extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
GlobalId.Factory
Constructs new instances of
GlobalId . |
Constructor and Description |
---|
GlobalId() |
Modifier and Type | Method and Description |
---|---|
String |
attributesToString()
Builds a string showing the current attribute values
|
boolean |
equals(Object object)
Returns
true if the argument is an GlobalId instance and all identifiers for
this entity equal the identifiers of the argument entity. |
Set<User> |
getFollowers() |
String |
getGlobalIdentifier()
The global identifier value
|
Long |
getId() |
int |
hashCode()
Returns a hash code based on this entity's identifiers.
|
void |
setFollowers(Set<User> followers) |
void |
setGlobalIdentifier(String globalIdentifier) |
void |
setId(Long id) |
public String attributesToString()
public boolean equals(Object object)
true
if the argument is an GlobalId instance and all identifiers for
this entity equal the identifiers of the argument entity. Returns false
otherwise.public String getGlobalIdentifier()
The global identifier value
public Long getId()
public int hashCode()
public void setGlobalIdentifier(String globalIdentifier)
public void setId(Long id)
Copyright © 2019 Communote team. All rights reserved.