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) Date
getCreated()
@Size(min=3) String
getCreatedBy()
Date
getDeleted()
String
getDescription()
@Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) UUID
getKey()
@Null(groups=PrePersist.class) Date
getModified()
@Size(min=3) String
getModifiedBy()
@NotNull @Size(min=2) String
getTitle()
void
setCreated(Date created)
void
setCreatedBy(String createdBy)
void
setDeleted(Date deleted)
void
setDescription(String description)
void
setKey(UUID key)
void
setModified(Date modified)
void
setModifiedBy(String createdBy)
void
setTitle(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)
-
-