Package com.ibm.fhir.schema.control
Class TenantInfo
- java.lang.Object
-
- com.ibm.fhir.schema.control.TenantInfo
-
public class TenantInfo extends Object
DTO for tenant information fetched from the admin schema
-
-
Constructor Summary
Constructors Constructor Description TenantInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
getHeader()
Get a header matching the above formatint
getTenantId()
String
getTenantName()
String
getTenantSchema()
TenantStatus
getTenantStatus()
void
setTenantId(int tenantId)
void
setTenantName(String tenantName)
void
setTenantSchema(String tenantSchema)
void
setTenantStatus(TenantStatus tenantStatus)
String
toString()
-
-
-
Method Detail
-
getHeader
public static String getHeader()
Get a header matching the above format- Returns:
-
getTenantName
public String getTenantName()
- Returns:
- the tenantName
-
setTenantName
public void setTenantName(String tenantName)
- Parameters:
tenantName
- the tenantName to set
-
getTenantId
public int getTenantId()
- Returns:
- the tenantId
-
setTenantId
public void setTenantId(int tenantId)
- Parameters:
tenantId
- the tenantId to set
-
getTenantSchema
public String getTenantSchema()
- Returns:
- the tenantSchema
-
setTenantSchema
public void setTenantSchema(String tenantSchema)
- Parameters:
tenantSchema
- the tenantSchema to set
-
getTenantStatus
public TenantStatus getTenantStatus()
- Returns:
- the tenantStatus
-
setTenantStatus
public void setTenantStatus(TenantStatus tenantStatus)
- Parameters:
tenantStatus
- the tenantStatus to set
-
-