java.lang.Object
com.liferay.headless.admin.address.dto.v1_0.Region
All Implemented Interfaces:
Serializable

@Generated("") public class Region extends Object implements Serializable
See Also:
Generated:
  • Field Details

    • active

      protected Boolean active
    • countryId

      protected Long countryId
    • id

      protected Long id
    • name

      @NotEmpty protected @NotEmpty String name
    • position

      protected Double position
    • regionCode

      @NotEmpty protected @NotEmpty String regionCode
    • title_i18n

      protected Map<String,String> title_i18n
    • xClassName

      public String xClassName
  • Constructor Details

    • Region

      public Region()
  • Method Details

    • toDTO

      public static Region toDTO(String json)
    • unsafeToDTO

      public static Region unsafeToDTO(String json)
    • getActive

      public Boolean getActive()
    • setActive

      public void setActive(Boolean active)
    • setActive

      public void setActive(com.liferay.petra.function.UnsafeSupplier<Boolean,Exception> activeUnsafeSupplier)
    • getCountryId

      public Long getCountryId()
    • setCountryId

      public void setCountryId(Long countryId)
    • setCountryId

      public void setCountryId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> countryIdUnsafeSupplier)
    • getId

      public Long getId()
    • setId

      public void setId(Long id)
    • setId

      public void setId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> idUnsafeSupplier)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • setName

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

      public Double getPosition()
    • setPosition

      public void setPosition(Double position)
    • setPosition

      public void setPosition(com.liferay.petra.function.UnsafeSupplier<Double,Exception> positionUnsafeSupplier)
    • getRegionCode

      public String getRegionCode()
    • setRegionCode

      public void setRegionCode(String regionCode)
    • setRegionCode

      public void setRegionCode(com.liferay.petra.function.UnsafeSupplier<String,Exception> regionCodeUnsafeSupplier)
    • getTitle_i18n

      @Valid public @Valid Map<String,String> getTitle_i18n()
    • setTitle_i18n

      public void setTitle_i18n(Map<String,String> title_i18n)
    • setTitle_i18n

      public void setTitle_i18n(com.liferay.petra.function.UnsafeSupplier<Map<String,String>,Exception> title_i18nUnsafeSupplier)
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object