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 StringgetHeader()Get a header matching the above formatintgetTenantId()StringgetTenantName()StringgetTenantSchema()TenantStatusgetTenantStatus()voidsetTenantId(int tenantId)voidsetTenantName(String tenantName)voidsetTenantSchema(String tenantSchema)voidsetTenantStatus(TenantStatus tenantStatus)StringtoString() 
 - 
 
- 
- 
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
 
 - 
 
 -