Package pl.edu.icm.unity.types.endpoint
Class Endpoint
java.lang.Object
pl.edu.icm.unity.types.endpoint.Endpoint
- All Implemented Interfaces:
NamedObject
Complete information allowing to create an endpoint
- Author:
- K. Benedyczak
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionEndpoint
(com.fasterxml.jackson.databind.node.ObjectNode root) Endpoint
(String name, String typeId, String contextAddress, EndpointConfiguration configuration, long revision) Endpoint
(String name, String typeId, String contextAddress, EndpointConfiguration configuration, long revision, Endpoint.EndpointState state) -
Method Summary
-
Constructor Details
-
Endpoint
public Endpoint(String name, String typeId, String contextAddress, EndpointConfiguration configuration, long revision) -
Endpoint
public Endpoint(String name, String typeId, String contextAddress, EndpointConfiguration configuration, long revision, Endpoint.EndpointState state) -
Endpoint
public Endpoint(com.fasterxml.jackson.databind.node.ObjectNode root)
-
-
Method Details
-
getConfiguration
-
getTypeId
-
getName
- Specified by:
getName
in interfaceNamedObject
- Returns:
- human readable name of the object. Must be unique for the object class.
-
getContextAddress
-
getRevision
public long getRevision() -
getState
-
toString
-
toJson
public com.fasterxml.jackson.databind.node.ObjectNode toJson() -
hashCode
public int hashCode() -
equals
-