Klasse RestStorage
java.lang.Object
de.dlr.proseo.interfaces.rest.model.RestStorage
- Alle implementierten Schnittstellen:
Serializable
- Siehe auch:
-
Feldübersicht
Felder -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreates a new RestStorage.RestStorage
(String id, String storageType, String description) Creates a new RestStorage. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
Returns the description.@NotNull @Pattern(regexp="^proseo-[a-z0-9-]{10,50}+$") String
getId()
Returns the id.@NotNull @Pattern(regexp="^(S3|ALLUXIO|POSIX|OTHER)$") String
Returns the storageType.int
hashCode()
void
setDescription
(String description) Set the description.void
Set the id.void
setStorageType
(String storageType) Set the storageType.toString()
-
Felddetails
-
serialVersionUID
static final long serialVersionUID- Siehe auch:
-
id
-
storageType
The type of the storage -
description
-
-
Konstruktordetails
-
RestStorage
public RestStorage()Creates a new RestStorage. -
RestStorage
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
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
Set the storageType.- Parameter:
storageType
- the new storageType
-
getDescription
Returns the description.- Gibt zurück:
- description
-
setDescription
Set the description.- Parameter:
description
- the new description
-
hashCode
public int hashCode() -
equals
-
toString
-