Class Scope

java.lang.Object
com.liferay.object.rest.dto.v1_0.Scope
All Implemented Interfaces:
Serializable

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

    • externalReferenceCode

      protected String externalReferenceCode
    • type

      protected Scope.Type type
    • xClassName

      public String xClassName
  • Constructor Details

    • Scope

      public Scope()
  • Method Details

    • toDTO

      public static Scope toDTO(String json)
    • unsafeToDTO

      public static Scope unsafeToDTO(String json)
    • getExternalReferenceCode

      public String getExternalReferenceCode()
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
    • setExternalReferenceCode

      public void setExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String,Exception> externalReferenceCodeUnsafeSupplier)
    • getType

      @Valid public @Valid Scope.Type getType()
    • getTypeAsString

      public String getTypeAsString()
    • setType

      public void setType(Scope.Type type)
    • setType

      public void setType(com.liferay.petra.function.UnsafeSupplier<Scope.Type,Exception> typeUnsafeSupplier)
    • 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