Interface AttributeReferenceType

All Superinterfaces:
AttributeType

public interface AttributeReferenceType extends AttributeType
AttributeReferenceType
Example to create an instance using the builder pattern

     AttributeReferenceType attributeReferenceType = AttributeReferenceType.builder()
             .referenceTypeId(AttributeReferenceTypeId.ASSOCIATE_ROLE)
             .build()
 
  • Field Details

  • Method Details

    • getReferenceTypeId

      @NotNull @NotNull AttributeReferenceTypeId getReferenceTypeId()

      Name of the resource type that the value should reference.

      Returns:
      referenceTypeId
    • setReferenceTypeId

      void setReferenceTypeId(AttributeReferenceTypeId referenceTypeId)

      Name of the resource type that the value should reference.

      Parameters:
      referenceTypeId - value to be set
    • of

      factory method
      Returns:
      instance of AttributeReferenceType
    • of

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

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

      builder factory method for AttributeReferenceType
      Returns:
      builder
    • builder

      create builder for AttributeReferenceType instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withAttributeReferenceType

      default <T> T withAttributeReferenceType(Function<AttributeReferenceType,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<AttributeReferenceType> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference