Package org.gbif.api.model.registry
Class Endpoint
- java.lang.Object
-
- org.gbif.api.model.registry.Endpoint
-
- All Implemented Interfaces:
Serializable
,LenientEquals<Endpoint>
,MachineTaggable
public class Endpoint extends Object implements MachineTaggable, Serializable, LenientEquals<Endpoint>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Endpoint()
-
Method Summary
-
-
-
Constructor Detail
-
Endpoint
public Endpoint()
-
-
Method Detail
-
getKey
@Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) @Min(1L) public @Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) @Min(1L) Integer getKey()
-
getType
@NotNull public @NotNull EndpointType getType()
-
setType
public void setType(EndpointType type)
-
getDescription
@Nullable public String getDescription()
-
setDescription
public void setDescription(String description)
-
getCreatedBy
@Size(min=3) public @Size(min=3) String getCreatedBy()
-
setCreatedBy
public void setCreatedBy(String createdBy)
-
getModifiedBy
@Size(min=3) public @Size(min=3) String getModifiedBy()
-
setModifiedBy
public void setModifiedBy(String modifiedBy)
-
getCreated
@Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) public @Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) Date getCreated()
-
setCreated
public void setCreated(Date created)
-
getModified
@Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) public @Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) Date getModified()
-
setModified
public void setModified(Date modified)
-
getMachineTags
public List<MachineTag> getMachineTags()
- Specified by:
getMachineTags
in interfaceMachineTaggable
-
setMachineTags
public void setMachineTags(List<MachineTag> machineTags)
- Specified by:
setMachineTags
in interfaceMachineTaggable
-
addMachineTag
public void addMachineTag(MachineTag machineTag)
- Specified by:
addMachineTag
in interfaceMachineTaggable
-
lenientEquals
public boolean lenientEquals(Endpoint other)
Does not include server controlled values, or nested properties.- Specified by:
lenientEquals
in interfaceLenientEquals<Endpoint>
- Parameters:
other
- To compare against- Returns:
- true if...
-
-