Class CustomField

java.lang.Object
com.liferay.portal.vulcan.custom.field.CustomField
All Implemented Interfaces:
Serializable

public class CustomField extends Object implements Serializable
See Also:
  • Field Details

  • Constructor Details

    • CustomField

      public CustomField()
  • Method Details

    • toDTO

      public static CustomField toDTO(String json)
    • unsafeToDTO

      public static CustomField unsafeToDTO(String json)
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • getAttributeType

      public CustomField.AttributeType getAttributeType()
    • getAttributeTypeAsString

      public String getAttributeTypeAsString()
    • getCustomValue

      @Valid public @Valid CustomValue getCustomValue()
    • getDataType

      public String getDataType()
    • getName

      public String getName()
    • hashCode

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

      public void setAttributeType(CustomField.AttributeType attributeType)
    • setAttributeType

      public void setAttributeType(com.liferay.petra.function.UnsafeSupplier<CustomField.AttributeType,Exception> attributeTypeUnsafeSupplier)
    • setCustomValue

      public void setCustomValue(CustomValue customValue)
    • setCustomValue

      public void setCustomValue(com.liferay.petra.function.UnsafeSupplier<CustomValue,Exception> customValueUnsafeSupplier)
    • setDataType

      public void setDataType(String dataType)
    • setDataType

      public void setDataType(com.liferay.petra.function.UnsafeSupplier<String,Exception> dataTypeUnsafeSupplier)
    • setName

      public void setName(String name)
    • setName

      public void setName(com.liferay.petra.function.UnsafeSupplier<String,Exception> nameUnsafeSupplier)
    • toString

      public String toString()
      Overrides:
      toString in class Object