public class OccurrenceMapping extends Object implements Serializable, LenientEquals<OccurrenceMapping>
Constructor and Description |
---|
OccurrenceMapping() |
OccurrenceMapping(String code,
String identifier,
UUID datasetKey) |
OccurrenceMapping(String code,
String identifier,
UUID datasetKey,
String parentCode) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
@Size(min=1) String |
getCode() |
Date |
getCreated() |
String |
getCreatedBy() |
@NotNull UUID |
getDatasetKey() |
@Size(min=1) String |
getIdentifier() |
@Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) Integer |
getKey()
Unique identifier, assigned by the persistence store.
|
@Size(min=1) String |
getParentCode() |
int |
hashCode() |
boolean |
lenientEquals(OccurrenceMapping other)
Leniently tests if the objects are the same.
|
void |
setCode(String code) |
void |
setCreated(Date created) |
void |
setCreatedBy(String createdBy) |
void |
setDatasetKey(UUID datasetKey) |
void |
setIdentifier(String identifier) |
void |
setKey(Integer key) |
void |
setParentCode(String parentCode) |
String |
toString() |
public OccurrenceMapping()
public OccurrenceMapping(String code, String identifier, UUID datasetKey)
public OccurrenceMapping(String code, String identifier, UUID datasetKey, String parentCode)
@Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) public @Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) Integer getKey()
@Nullable @Size(min=1) public @Size(min=1) String getParentCode()
public void setParentCode(String parentCode)
@Nullable @Size(min=1) public @Size(min=1) String getIdentifier()
public void setIdentifier(String identifier)
@NotNull public @NotNull UUID getDatasetKey()
public void setDatasetKey(UUID datasetKey)
public String getCreatedBy()
public void setCreatedBy(String createdBy)
public Date getCreated()
public void setCreated(Date created)
public boolean lenientEquals(OccurrenceMapping other)
LenientEquals
lenientEquals
in interface LenientEquals<OccurrenceMapping>
other
- To compare againstCopyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.