Class TMF630Document<T>

java.lang.Object
com.orange.spring.tmf630.serializers.TMF630Document<T>

public final class TMF630Document<T> extends Object
Data class for the JSON structure of any resources using TMF630 links
  • Constructor Details

    • TMF630Document

      public TMF630Document(T singleContent, Map<String,T> collectionContent, org.springframework.hateoas.Links links)
  • Method Details

    • getSingleContent

      public T getSingleContent()
    • getCollectionContent

      public Map<String,T> getCollectionContent()
    • getLinks

      public org.springframework.hateoas.Links getLinks()
    • elements

      public Map<String,T> elements()
    • copy

      public TMF630Document<T> copy(T singleContent, Map<String,T> collectionContent, org.springframework.hateoas.Links links)
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object