Class StorageAccountImpl
java.lang.Object
org.duracloud.storage.domain.impl.StorageAccountImpl
- All Implemented Interfaces:
StorageAccount
Contains the information necessary to access a storage
provider account.
- Author:
- Bill Branan
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.duracloud.storage.domain.StorageAccount
StorageAccount.OPTS -
Constructor Summary
ConstructorsConstructorDescriptionStorageAccountImpl(String id, String username, String password, org.duracloud.storage.domain.StorageProviderType type) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()org.duracloud.storage.domain.StorageProviderTypegetType()inthashCode()booleanvoidvoidvoidsetOwnerId(String ownerId) voidsetPassword(String password) voidsetPrimary(boolean primary) voidsetType(org.duracloud.storage.domain.StorageProviderType type) voidsetUsername(String username) toString()
-
Constructor Details
-
StorageAccountImpl
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceStorageAccount- Returns:
- the id
-
setId
- Specified by:
setIdin interfaceStorageAccount- Parameters:
id- the id to set
-
getOwnerId
- Specified by:
getOwnerIdin interfaceStorageAccount
-
setOwnerId
- Specified by:
setOwnerIdin interfaceStorageAccount
-
getUsername
- Specified by:
getUsernamein interfaceStorageAccount- Returns:
- the username
-
setUsername
- Specified by:
setUsernamein interfaceStorageAccount- Parameters:
username- the username to set
-
getPassword
- Specified by:
getPasswordin interfaceStorageAccount- Returns:
- the password
-
setPassword
- Specified by:
setPasswordin interfaceStorageAccount- Parameters:
password- the password to set
-
getType
public org.duracloud.storage.domain.StorageProviderType getType()- Specified by:
getTypein interfaceStorageAccount- Returns:
- the type
-
setType
public void setType(org.duracloud.storage.domain.StorageProviderType type) - Specified by:
setTypein interfaceStorageAccount- Parameters:
type- the type to set
-
isPrimary
public boolean isPrimary()- Specified by:
isPrimaryin interfaceStorageAccount
-
setPrimary
public void setPrimary(boolean primary) - Specified by:
setPrimaryin interfaceStorageAccount
-
getOptions
- Specified by:
getOptionsin interfaceStorageAccount
-
setOption
- Specified by:
setOptionin interfaceStorageAccount
-
equals
-
hashCode
public int hashCode() -
toString
-