Package com.wombat.mamda
Class MamdaSecurityStatus
- java.lang.Object
-
- com.wombat.mamda.MamdaSecurityStatus
-
public class MamdaSecurityStatus extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static shortSECURITY_STATUS_AT_LASTstatic shortSECURITY_STATUS_AUCTIONstatic shortSECURITY_STATUS_CLOSEDstatic shortSECURITY_STATUS_CROSSINGstatic shortSECURITY_STATUS_DELETEDstatic shortSECURITY_STATUS_HALTEDstatic shortSECURITY_STATUS_NONEA set of final shorts representing the status of a security such as whether or not it is halted or closed for trading.static shortSECURITY_STATUS_NORMALstatic shortSECURITY_STATUS_NOT_EXISTstatic shortSECURITY_STATUS_SUSPENDEDstatic shortSECURITY_STATUS_UNKNOWN
-
Constructor Summary
Constructors Constructor Description MamdaSecurityStatus()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static shortmamdaSecurityStatusFromString(java.lang.String securityStatus)Convert a string representation of a security status to the enumeration.static java.lang.StringtoString(short securityStatus)Convert a MamdaSecurityStatus to an appropriate, displayable string.
-
-
-
Field Detail
-
SECURITY_STATUS_NONE
public static final short SECURITY_STATUS_NONE
A set of final shorts representing the status of a security such as whether or not it is halted or closed for trading.- See Also:
- Constant Field Values
-
SECURITY_STATUS_NORMAL
public static final short SECURITY_STATUS_NORMAL
- See Also:
- Constant Field Values
-
SECURITY_STATUS_CLOSED
public static final short SECURITY_STATUS_CLOSED
- See Also:
- Constant Field Values
-
SECURITY_STATUS_HALTED
public static final short SECURITY_STATUS_HALTED
- See Also:
- Constant Field Values
-
SECURITY_STATUS_NOT_EXIST
public static final short SECURITY_STATUS_NOT_EXIST
- See Also:
- Constant Field Values
-
SECURITY_STATUS_DELETED
public static final short SECURITY_STATUS_DELETED
- See Also:
- Constant Field Values
-
SECURITY_STATUS_AUCTION
public static final short SECURITY_STATUS_AUCTION
- See Also:
- Constant Field Values
-
SECURITY_STATUS_CROSSING
public static final short SECURITY_STATUS_CROSSING
- See Also:
- Constant Field Values
-
SECURITY_STATUS_SUSPENDED
public static final short SECURITY_STATUS_SUSPENDED
- See Also:
- Constant Field Values
-
SECURITY_STATUS_AT_LAST
public static final short SECURITY_STATUS_AT_LAST
- See Also:
- Constant Field Values
-
SECURITY_STATUS_UNKNOWN
public static final short SECURITY_STATUS_UNKNOWN
- See Also:
- Constant Field Values
-
-
Method Detail
-
toString
public static java.lang.String toString(short securityStatus)
Convert a MamdaSecurityStatus to an appropriate, displayable string.- Parameters:
securityStatus- The security status as a long.
-
mamdaSecurityStatusFromString
public static short mamdaSecurityStatusFromString(java.lang.String securityStatus)
Convert a string representation of a security status to the enumeration.- Parameters:
securityStatusStr- The security status as a string.- Returns:
- The security status as a short.
-
-