Klasse RestStorage

java.lang.Object
de.dlr.proseo.interfaces.rest.model.RestStorage
Alle implementierten Schnittstellen:
Serializable

public class RestStorage extends Object implements Serializable
Siehe auch:
  • Felddetails

    • serialVersionUID

      static final long serialVersionUID
      Siehe auch:
    • id

      protected String id
    • storageType

      protected String storageType
      The type of the storage
    • description

      protected String description
  • Konstruktordetails

    • RestStorage

      public RestStorage()
      Creates a new RestStorage.
    • RestStorage

      public RestStorage(String id, String storageType, String description)
      Creates a new RestStorage.
  • Methodendetails

    • getId

      @NotNull @Pattern(regexp="^proseo-[a-z0-9-]{10,50}+$") public @NotNull @Pattern(regexp="^proseo-[a-z0-9-]{10,50}+$") String getId()
      Returns the id.
      Gibt zurück:
      id
    • setId

      public void setId(String id)
      Set the id.
      Parameter:
      id - the new id
    • getStorageType

      @NotNull @Pattern(regexp="^(S3|ALLUXIO|POSIX|OTHER)$") public @NotNull @Pattern(regexp="^(S3|ALLUXIO|POSIX|OTHER)$") String getStorageType()
      Returns the storageType.
      Gibt zurück:
      storageType
    • setStorageType

      public void setStorageType(String storageType)
      Set the storageType.
      Parameter:
      storageType - the new storageType
    • getDescription

      public String getDescription()
      Returns the description.
      Gibt zurück:
      description
    • setDescription

      public void setDescription(String description)
      Set the description.
      Parameter:
      description - the new description
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • equals

      public boolean equals(Object other)
      Setzt außer Kraft:
      equals in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object