|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.interstarinc.xmedius.sendfax.model.CoverSheetType
public final class CoverSheetType
This type safe enum class defines the fax cover sheet type values The cover sheet type determines how the fax server finds the cover sheet.
IFaxModel.getCoverSheetType(),
IFaxModel.getCoverSheet()| Field Summary | |
|---|---|
static CoverSheetType |
DEFAULT
DEFAULT : the fax server uses the cover sheet specified in the user profile. |
static CoverSheetType |
LOCAL
LOCAL : the fax server uses a cover sheet uploaded has an attachment by the user. |
static CoverSheetType |
NONE
NONE : the client sofware specified this type if the fax to be sent has no cover sheet. |
static CoverSheetType |
SERVER
SERVER : the fax server uses a cover sheet from the user's profile, other than the default cover sheet. |
private String |
type
|
| Constructor Summary | |
|---|---|
private |
CoverSheetType(String type)
|
| Method Summary | |
|---|---|
static CoverSheetType |
getValueFor(String coverSheetType)
A utility method to convert a String into a CoverSheetType. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final CoverSheetType NONE
public static final CoverSheetType DEFAULT
public static final CoverSheetType SERVER
public static final CoverSheetType LOCAL
private String type
| Constructor Detail |
|---|
private CoverSheetType(String type)
| Method Detail |
|---|
public String toString()
toString in class ObjectXML builder uses this value when converting the fax model to the XML document.
public static CoverSheetType getValueFor(String coverSheetType)
throws IllegalArgumentException
String into a CoverSheetType.
toString().
coverSheetType - the cover sheet type to be convertedtoString() applied on an instance of this class.
CoverSheetType instance that matches the input parameter.IllegalArgumentException - if the input parameter is not an expected value.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||