Package pl.edu.icm.unity.types
Class DescribedObjectROImpl
java.lang.Object
pl.edu.icm.unity.types.DescribedObjectROImpl
- All Implemented Interfaces:
DescribedObject
,NamedObject
- Direct Known Subclasses:
BaseForm
,CredentialType
,DescribedObjectImpl
Read only implementation of
DescribedObject
interface. Useful for extending- Author:
- K. Benedyczak
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
DescribedObjectROImpl
(com.fasterxml.jackson.databind.node.ObjectNode root) DescribedObjectROImpl
(String name, String description) -
Method Summary
-
Field Details
-
name
-
description
-
-
Constructor Details
-
DescribedObjectROImpl
protected DescribedObjectROImpl() -
DescribedObjectROImpl
-
DescribedObjectROImpl
public DescribedObjectROImpl(com.fasterxml.jackson.databind.node.ObjectNode root)
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceNamedObject
- Returns:
- human readable name of the object. Must be unique for the object class.
-
getDescription
- Specified by:
getDescription
in interfaceDescribedObject
- Returns:
- human readable description of the object.
-
toString
-
fromJsonDescObj
protected final void fromJsonDescObj(com.fasterxml.jackson.databind.node.ObjectNode root) -
toJson
public com.fasterxml.jackson.databind.node.ObjectNode toJson() -
hashCode
public int hashCode() -
equals
-