Class BaseChangeSuggestion<T extends CollectionEntity>
- java.lang.Object
-
- org.gbif.api.model.collections.suggestions.BaseChangeSuggestion<T>
-
- All Implemented Interfaces:
Serializable
,ChangeSuggestion<T>
- Direct Known Subclasses:
CollectionChangeSuggestion
,InstitutionChangeSuggestion
public abstract class BaseChangeSuggestion<T extends CollectionEntity> extends Object implements ChangeSuggestion<T>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BaseChangeSuggestion()
-
Method Summary
-
-
-
Constructor Detail
-
BaseChangeSuggestion
public BaseChangeSuggestion()
-
-
Method Detail
-
getKey
public Integer getKey()
- Specified by:
getKey
in interfaceChangeSuggestion<T extends CollectionEntity>
-
setKey
public void setKey(Integer key)
- Specified by:
setKey
in interfaceChangeSuggestion<T extends CollectionEntity>
-
getType
public Type getType()
- Specified by:
getType
in interfaceChangeSuggestion<T extends CollectionEntity>
-
setType
public void setType(Type type)
- Specified by:
setType
in interfaceChangeSuggestion<T extends CollectionEntity>
-
getStatus
public Status getStatus()
- Specified by:
getStatus
in interfaceChangeSuggestion<T extends CollectionEntity>
-
setStatus
public void setStatus(Status status)
- Specified by:
setStatus
in interfaceChangeSuggestion<T extends CollectionEntity>
-
getEntityKey
public UUID getEntityKey()
- Specified by:
getEntityKey
in interfaceChangeSuggestion<T extends CollectionEntity>
-
setEntityKey
public void setEntityKey(UUID entityKey)
- Specified by:
setEntityKey
in interfaceChangeSuggestion<T extends CollectionEntity>
-
getEntityName
public String getEntityName()
- Specified by:
getEntityName
in interfaceChangeSuggestion<T extends CollectionEntity>
-
setEntityName
public void setEntityName(String entityName)
- Specified by:
setEntityName
in interfaceChangeSuggestion<T extends CollectionEntity>
-
getEntityCountry
public Country getEntityCountry()
- Specified by:
getEntityCountry
in interfaceChangeSuggestion<T extends CollectionEntity>
-
setEntityCountry
public void setEntityCountry(Country entityCountry)
- Specified by:
setEntityCountry
in interfaceChangeSuggestion<T extends CollectionEntity>
-
getSuggestedEntity
public T getSuggestedEntity()
- Specified by:
getSuggestedEntity
in interfaceChangeSuggestion<T extends CollectionEntity>
-
setSuggestedEntity
public void setSuggestedEntity(T suggestedEntity)
- Specified by:
setSuggestedEntity
in interfaceChangeSuggestion<T extends CollectionEntity>
-
getProposed
public Date getProposed()
- Specified by:
getProposed
in interfaceChangeSuggestion<T extends CollectionEntity>
-
setProposed
public void setProposed(Date proposed)
- Specified by:
setProposed
in interfaceChangeSuggestion<T extends CollectionEntity>
-
getProposedBy
public String getProposedBy()
- Specified by:
getProposedBy
in interfaceChangeSuggestion<T extends CollectionEntity>
-
setProposedBy
public void setProposedBy(String proposedBy)
- Specified by:
setProposedBy
in interfaceChangeSuggestion<T extends CollectionEntity>
-
getProposerEmail
public String getProposerEmail()
- Specified by:
getProposerEmail
in interfaceChangeSuggestion<T extends CollectionEntity>
-
setProposerEmail
public void setProposerEmail(String proposerEmail)
- Specified by:
setProposerEmail
in interfaceChangeSuggestion<T extends CollectionEntity>
-
getApplied
public Date getApplied()
- Specified by:
getApplied
in interfaceChangeSuggestion<T extends CollectionEntity>
-
setApplied
public void setApplied(Date applied)
- Specified by:
setApplied
in interfaceChangeSuggestion<T extends CollectionEntity>
-
getAppliedBy
public String getAppliedBy()
- Specified by:
getAppliedBy
in interfaceChangeSuggestion<T extends CollectionEntity>
-
setAppliedBy
public void setAppliedBy(String appliedBy)
- Specified by:
setAppliedBy
in interfaceChangeSuggestion<T extends CollectionEntity>
-
getDiscarded
public Date getDiscarded()
- Specified by:
getDiscarded
in interfaceChangeSuggestion<T extends CollectionEntity>
-
setDiscarded
public void setDiscarded(Date discarded)
- Specified by:
setDiscarded
in interfaceChangeSuggestion<T extends CollectionEntity>
-
getDiscardedBy
public String getDiscardedBy()
- Specified by:
getDiscardedBy
in interfaceChangeSuggestion<T extends CollectionEntity>
-
setDiscardedBy
public void setDiscardedBy(String discardedBy)
- Specified by:
setDiscardedBy
in interfaceChangeSuggestion<T extends CollectionEntity>
-
getComments
public List<String> getComments()
- Specified by:
getComments
in interfaceChangeSuggestion<T extends CollectionEntity>
-
setComments
public void setComments(List<String> comments)
- Specified by:
setComments
in interfaceChangeSuggestion<T extends CollectionEntity>
-
getMergeTargetKey
public UUID getMergeTargetKey()
- Specified by:
getMergeTargetKey
in interfaceChangeSuggestion<T extends CollectionEntity>
-
setMergeTargetKey
public void setMergeTargetKey(UUID mergeTargetKey)
- Specified by:
setMergeTargetKey
in interfaceChangeSuggestion<T extends CollectionEntity>
-
getChanges
public List<Change> getChanges()
- Specified by:
getChanges
in interfaceChangeSuggestion<T extends CollectionEntity>
-
setChanges
public void setChanges(List<Change> changes)
- Specified by:
setChanges
in interfaceChangeSuggestion<T extends CollectionEntity>
-
getModified
public Date getModified()
- Specified by:
getModified
in interfaceChangeSuggestion<T extends CollectionEntity>
-
setModified
public void setModified(Date modified)
- Specified by:
setModified
in interfaceChangeSuggestion<T extends CollectionEntity>
-
getModifiedBy
public String getModifiedBy()
- Specified by:
getModifiedBy
in interfaceChangeSuggestion<T extends CollectionEntity>
-
setModifiedBy
public void setModifiedBy(String modifiedBy)
- Specified by:
setModifiedBy
in interfaceChangeSuggestion<T extends CollectionEntity>
-
-