public class Profile extends MarketEvent implements LastingEvent<String>
Profile
event has the following properties:
eventSymbol
- symbol of this event;
description
- description of the security instrument;
shortSaleRestricted
- short sale restriction status of this security instrument;
tradingHalted
- trading halt status of this security instrument;
statusReason
- description of the reason that trading was halted;
haltStartTime
- starting time of the trading halt interval;
haltEndTime
- ending time of the trading halt interval.
Profile
.Constructor and Description |
---|
Profile()
Creates new profile with default values.
|
Profile(String eventSymbol)
Creates new profile with the specified event symbol.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns description of the security instrument.
|
long |
getHaltEndTime()
Returns ending time of the trading halt interval.
|
long |
getHaltStartTime()
Returns starting time of the trading halt interval.
|
String |
getStatusReason()
Returns description of the reason that trading was halted.
|
boolean |
isShortSaleRestricted()
Returns short sale restriction status of this security instrument.
|
boolean |
isTradingHalted()
Returns trading halt status of this security instrument.
|
void |
setDescription(String description)
Changes description of the security instrument.
|
void |
setHaltEndTime(long haltEndTime)
Changes ending time of the trading halt interval.
|
void |
setHaltStartTime(long haltStartTime)
Changes starting time of the trading halt interval.
|
void |
setShortSaleRestricted(boolean isShortSaleRestricted)
Changes short sale restriction status of this security instrument.
|
void |
setStatusReason(String statusReason)
Changes description of the reason that trading was halted.
|
void |
setTradingHalted(boolean isTradingHalted)
Changes trading halt status of this security instrument.
|
String |
toString()
Returns string representation of this profile event.
|
getEventSymbol, setEventSymbol
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEventSymbol, setEventSymbol
public Profile()
public Profile(String eventSymbol)
eventSymbol
- event symbol.public String getDescription()
public void setDescription(String description)
description
- description of the security instrument.public boolean isShortSaleRestricted()
true
if short sale of this security instrument is restricted.public void setShortSaleRestricted(boolean isShortSaleRestricted)
isShortSaleRestricted
- true
if short sale of this security instrument is restricted.public boolean isTradingHalted()
true
if trading of this security instrument is halted.public void setTradingHalted(boolean isTradingHalted)
isTradingHalted
- true
if trading of this security instrument is halted.public String getStatusReason()
public void setStatusReason(String statusReason)
statusReason
- description of the reason that trading was halted.public long getHaltStartTime()
public void setHaltStartTime(long haltStartTime)
haltStartTime
- starting time of the trading halt interval.public long getHaltEndTime()
public void setHaltEndTime(long haltEndTime)
haltEndTime
- ending time of the trading halt interval.Copyright © 2015 Devexperts. All Rights Reserved.