Package io.openapitools.hal
Class HALAnnotation<T extends Annotation>
java.lang.Object
io.openapitools.hal.HALAnnotation<T>
public class HALAnnotation<T extends Annotation> extends Object
Enumeration of properties reserved for HAL along with the association to the annotation marking objects to go into these properties.
-
Field Summary
Fields Modifier and Type Field Description static HALAnnotation<io.openapitools.jackson.dataformat.hal.annotation.EmbeddedResource>EMBEDDEDstatic HALAnnotation<io.openapitools.jackson.dataformat.hal.annotation.Link>LINKS -
Method Summary
Modifier and Type Method Description StringderiveName(HALResourceType parent, T annotation, String property)Derive name for property defines as link or embedded.Class<T>getAnnotation()StringgetName()
-
Field Details
-
LINKS
-
EMBEDDED
public static final HALAnnotation<io.openapitools.jackson.dataformat.hal.annotation.EmbeddedResource> EMBEDDED
-
-
Method Details
-
getName
-
getAnnotation
-
deriveName
Derive name for property defines as link or embedded.
-