Class BaseEntityMatched
- java.lang.Object
-
- org.gbif.api.model.collections.lookup.BaseEntityMatched
-
- All Implemented Interfaces:
Serializable
,EntityMatched
- Direct Known Subclasses:
CollectionMatched
,InstitutionMatched
public abstract class BaseEntityMatched extends Object implements EntityMatched
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BaseEntityMatched()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getCode()
UUID
getKey()
String
getName()
URI
getSelfLink()
int
hashCode()
boolean
isActive()
void
setActive(boolean active)
void
setCode(String code)
void
setKey(UUID key)
void
setName(String name)
void
setSelfLink(URI selfLink)
String
toString()
-
-
-
Constructor Detail
-
BaseEntityMatched
public BaseEntityMatched()
-
-
Method Detail
-
getKey
public UUID getKey()
- Specified by:
getKey
in interfaceEntityMatched
-
getSelfLink
public URI getSelfLink()
- Specified by:
getSelfLink
in interfaceEntityMatched
-
setSelfLink
public void setSelfLink(URI selfLink)
-
getName
public String getName()
- Specified by:
getName
in interfaceEntityMatched
-
getCode
public String getCode()
- Specified by:
getCode
in interfaceEntityMatched
-
isActive
public boolean isActive()
- Specified by:
isActive
in interfaceEntityMatched
-
setActive
public void setActive(boolean active)
-
-