Class AnnotationAttribute

java.lang.Object
org.springframework.hateoas.server.core.AnnotationAttribute

public class AnnotationAttribute extends Object
Simply helper to reference a dedicated attribute of an Annotation.
Author:
Oliver Gierke
  • Constructor Details

    • AnnotationAttribute

      public AnnotationAttribute(Class<? extends Annotation> annotationType)
      Creates a new AnnotationAttribute to the value attribute of the given Annotation type.
      Parameters:
      annotationType - must not be null.
    • AnnotationAttribute

      public AnnotationAttribute(Class<? extends Annotation> annotationType, @Nullable String attributeName)
      Creates a new AnnotationAttribute for the given Annotation type and annotation attribute name.
      Parameters:
      annotationType - must not be null.
      attributeName - can be null, defaults to value.
  • Method Details