Package com.ibm.fhir.schema.control
Class TenantInfo
- java.lang.Object
-
- com.ibm.fhir.schema.control.TenantInfo
-
public class TenantInfo extends java.lang.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 java.lang.String
getHeader()
Get a header matching the above formatint
getTenantId()
java.lang.String
getTenantName()
java.lang.String
getTenantSchema()
TenantStatus
getTenantStatus()
void
setTenantId(int tenantId)
void
setTenantName(java.lang.String tenantName)
void
setTenantSchema(java.lang.String tenantSchema)
void
setTenantStatus(TenantStatus tenantStatus)
java.lang.String
toString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getHeader
public static java.lang.String getHeader()
Get a header matching the above format- Returns:
-
getTenantName
public java.lang.String getTenantName()
- Returns:
- the tenantName
-
setTenantName
public void setTenantName(java.lang.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 java.lang.String getTenantSchema()
- Returns:
- the tenantSchema
-
setTenantSchema
public void setTenantSchema(java.lang.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
-
-