Package org.duracloud.account.db.model
Class AccountInfo
- java.lang.Object
-
- org.duracloud.account.db.model.BaseEntity
-
- org.duracloud.account.db.model.AccountInfo
-
- All Implemented Interfaces:
Comparable<AccountInfo>
@Entity public class AccountInfo extends BaseEntity implements Comparable<AccountInfo>
- Author:
- Erik Paulsson Date: 7/10/13
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccountInfo.AccountStatus
-
Field Summary
-
Fields inherited from class org.duracloud.account.db.model.BaseEntity
id
-
-
Constructor Summary
Constructors Constructor Description AccountInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(AccountInfo o)StringgetAcctName()StringgetDepartment()StringgetOrgName()StorageProviderAccountgetPrimaryStorageProviderAccount()Set<StorageProviderAccount>getSecondaryStorageProviderAccounts()AccountInfo.AccountStatusgetStatus()StringgetSubdomain()voidsetAcctName(String acctName)voidsetDepartment(String department)voidsetOrgName(String orgName)voidsetPrimaryStorageProviderAccount(StorageProviderAccount primaryStorageProviderAccount)voidsetSecondaryStorageProviderAccounts(Set<StorageProviderAccount> secondaryStorageProviderAccounts)voidsetStatus(AccountInfo.AccountStatus status)voidsetSubdomain(String subdomain)-
Methods inherited from class org.duracloud.account.db.model.BaseEntity
equals, getId, getModified, hashCode, setId, setModified
-
-
-
-
Method Detail
-
getSubdomain
public String getSubdomain()
-
setSubdomain
public void setSubdomain(String subdomain)
-
getAcctName
public String getAcctName()
-
setAcctName
public void setAcctName(String acctName)
-
getOrgName
public String getOrgName()
-
setOrgName
public void setOrgName(String orgName)
-
getDepartment
public String getDepartment()
-
setDepartment
public void setDepartment(String department)
-
getStatus
public AccountInfo.AccountStatus getStatus()
-
setStatus
public void setStatus(AccountInfo.AccountStatus status)
-
getPrimaryStorageProviderAccount
public StorageProviderAccount getPrimaryStorageProviderAccount()
-
setPrimaryStorageProviderAccount
public void setPrimaryStorageProviderAccount(StorageProviderAccount primaryStorageProviderAccount)
-
getSecondaryStorageProviderAccounts
public Set<StorageProviderAccount> getSecondaryStorageProviderAccounts()
-
setSecondaryStorageProviderAccounts
public void setSecondaryStorageProviderAccounts(Set<StorageProviderAccount> secondaryStorageProviderAccounts)
-
compareTo
public int compareTo(AccountInfo o)
- Specified by:
compareToin interfaceComparable<AccountInfo>
-
-