Interface AttributeGroupReference

All Superinterfaces:
Identifiable<AttributeGroup>, IdentifiableObjHolder<AttributeGroup>, Reference, ReferenceMixin

public interface AttributeGroupReference extends Reference, Identifiable<AttributeGroup>, IdentifiableObjHolder<AttributeGroup>

Reference to an AttributeGroup.


Example to create an instance using the builder pattern

     AttributeGroupReference attributeGroupReference = AttributeGroupReference.builder()
             .id("{id}")
             .build()
 
  • Field Details

    • ATTRIBUTE_GROUP

      static final String ATTRIBUTE_GROUP
      discriminator value for AttributeGroupReference
      See Also:
  • Method Details

    • getObj

      @Valid @Valid AttributeGroup getObj()

      Contains the representation of the expanded AttributeGroup. Only present in responses to requests with Reference Expansion for AttributeGroup.

      Specified by:
      getObj in interface IdentifiableObjHolder<AttributeGroup>
      Returns:
      obj
    • getId

      @NotNull @NotNull String getId()

      Platform-generated unique identifier of the referenced AttributeGroup.

      Specified by:
      getId in interface Identifiable<AttributeGroup>
      Specified by:
      getId in interface Reference
      Specified by:
      getId in interface ReferenceMixin
      Returns:
      id
    • setObj

      void setObj(AttributeGroup obj)

      Contains the representation of the expanded AttributeGroup. Only present in responses to requests with Reference Expansion for AttributeGroup.

      Parameters:
      obj - value to be set
    • setId

      void setId(String id)

      Platform-generated unique identifier of the referenced AttributeGroup.

      Specified by:
      setId in interface Reference
      Parameters:
      id - value to be set
    • of

      factory method
      Returns:
      instance of AttributeGroupReference
    • of

      factory method to create a shallow copy AttributeGroupReference
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of AttributeGroupReference
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      builder factory method for AttributeGroupReference
      Returns:
      builder
    • builder

      create builder for AttributeGroupReference instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withAttributeGroupReference

      default <T> T withAttributeGroupReference(Function<AttributeGroupReference,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<AttributeGroupReference> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference