Class Descriptor

java.lang.Object
org.springframework.hateoas.mediatype.alps.Descriptor

@NullUnmarked public final class Descriptor extends Object
A value object for an ALPS descriptor.
Since:
0.15
Author:
Oliver Gierke, Greg Turnquist
  • Method Details

    • builder

      public static @NonNull Descriptor.DescriptorBuilder builder()
    • getId

      public @Nullable String getId()
    • getHref

      public @Nullable String getHref()
    • getName

      public @Nullable String getName()
    • getDoc

      public @Nullable Doc getDoc()
    • getType

      public @Nullable Type getType()
    • getExt

      public @Nullable Ext getExt()
    • getRt

      public @Nullable String getRt()
    • getDescriptor

      public @Nullable List<Descriptor> getDescriptor()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object