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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMachineTag(MachineTag machineTag) boolean@Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) Date@Size(min=3) String@Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) @Min(1L) IntegergetKey()@Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) Date@Size(min=3) String@NotNull EndpointTypegetType()getUrl()inthashCode()booleanlenientEquals(Endpoint other) Does not include server controlled values, or nested properties.voidsetCreated(Date created) voidsetCreatedBy(String createdBy) voidsetDescription(String description) voidvoidsetMachineTags(List<MachineTag> machineTags) voidsetModified(Date modified) voidsetModifiedBy(String modifiedBy) voidsetType(EndpointType type) voidtoString()
-
Constructor Details
-
Endpoint
public Endpoint()
-
-
Method Details
-
getKey
@Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) @Min(1L) public @Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) @Min(1L) Integer getKey() -
setKey
-
getType
-
setType
-
getUrl
-
setUrl
-
getDescription
-
setDescription
-
getCreatedBy
-
setCreatedBy
-
getModifiedBy
-
setModifiedBy
-
getCreated
@Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) public @Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) Date getCreated() -
setCreated
-
getModified
@Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) public @Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) Date getModified() -
setModified
-
getMachineTags
- Specified by:
getMachineTagsin interfaceMachineTaggable
-
setMachineTags
- Specified by:
setMachineTagsin interfaceMachineTaggable
-
addMachineTag
- Specified by:
addMachineTagin interfaceMachineTaggable
-
equals
-
hashCode
-
toString
-
lenientEquals
Does not include server controlled values, or nested properties.- Specified by:
lenientEqualsin interfaceLenientEquals<Endpoint>- Parameters:
other- To compare against- Returns:
- true if...
-