Package org.gbif.api.model.registry
Interface NetworkEntity
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
Dataset,Installation,Network,Node,Organization
public interface NetworkEntity extends Serializable
This interface provides a minimal contract that all network entities (The readable version) will adhere to. It is used only to simplify consistent testing of operations on network entities, hence the restriction to package visibility only.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Null(groups=PrePersist.class) DategetCreated()@Size(min=3) StringgetCreatedBy()DategetDeleted()StringgetDescription()@Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) UUIDgetKey()@Null(groups=PrePersist.class) DategetModified()@Size(min=3) StringgetModifiedBy()@NotNull @Size(min=2) StringgetTitle()voidsetCreated(Date created)voidsetCreatedBy(String createdBy)voidsetDeleted(Date deleted)voidsetDescription(String description)voidsetKey(UUID key)voidsetModified(Date modified)voidsetModifiedBy(String createdBy)voidsetTitle(String title)
-
-
-
Method Detail
-
getKey
@Nullable @Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) @Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) UUID getKey()
-
getDescription
@Nullable String getDescription()
-
setDescription
void setDescription(String description)
-
getCreated
@Null(groups=PrePersist.class) @Nullable @Null(groups=PrePersist.class) Date getCreated()
-
setCreated
void setCreated(Date created)
-
getModified
@Null(groups=PrePersist.class) @Nullable @Null(groups=PrePersist.class) Date getModified()
-
setModified
void setModified(Date modified)
-
getDeleted
@Nullable Date getDeleted()
-
setDeleted
void setDeleted(Date deleted)
-
getCreatedBy
@Nullable @Size(min=3) @Size(min=3) String getCreatedBy()
-
setCreatedBy
void setCreatedBy(String createdBy)
-
getModifiedBy
@Nullable @Size(min=3) @Size(min=3) String getModifiedBy()
-
setModifiedBy
void setModifiedBy(String createdBy)
-
-