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 booleanequals(Object o)StringgetCode()UUIDgetKey()StringgetName()URIgetSelfLink()inthashCode()booleanisActive()voidsetActive(boolean active)voidsetCode(String code)voidsetKey(UUID key)voidsetName(String name)voidsetSelfLink(URI selfLink)StringtoString()
-
-
-
Constructor Detail
-
BaseEntityMatched
public BaseEntityMatched()
-
-
Method Detail
-
getKey
public UUID getKey()
- Specified by:
getKeyin interfaceEntityMatched
-
getSelfLink
public URI getSelfLink()
- Specified by:
getSelfLinkin interfaceEntityMatched
-
setSelfLink
public void setSelfLink(URI selfLink)
-
getName
public String getName()
- Specified by:
getNamein interfaceEntityMatched
-
getCode
public String getCode()
- Specified by:
getCodein interfaceEntityMatched
-
isActive
public boolean isActive()
- Specified by:
isActivein interfaceEntityMatched
-
setActive
public void setActive(boolean active)
-
-