Class RestStorage
java.lang.Object
de.dlr.proseo.interfaces.rest.model.RestStorage
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new RestStorage.RestStorage(String id, String storageType, String description) Creates a new RestStorage. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the description.getId()Returns the id.Returns the storageType.inthashCode()voidsetDescription(String description) Set the description.voidSet the id.voidsetStorageType(String storageType) Set the storageType.toString()
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
id
-
storageType
The type of the storage -
description
-
-
Constructor Details
-
RestStorage
public RestStorage()Creates a new RestStorage. -
RestStorage
Creates a new RestStorage.
-
-
Method Details
-
getId
Returns the id.- Returns:
- id
-
setId
Set the id.- Parameters:
id- the new id
-
getStorageType
Returns the storageType.- Returns:
- storageType
-
setStorageType
Set the storageType.- Parameters:
storageType- the new storageType
-
getDescription
Returns the description.- Returns:
- description
-
setDescription
Set the description.- Parameters:
description- the new description
-
hashCode
public int hashCode() -
equals
-
toString
-