Record Class EODSymbolChangeHistoryResponse
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.sol.models.responses.eod.EODSymbolChangeHistoryResponse
- Record Components:
exchange- exchange codeoldSymbol- previous symbolnewSymbol- replacement symbolcompanyName- company nameeffective- effective date
- All Implemented Interfaces:
GenericIntegrationResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecompanyNamerecord component.Returns the value of theeffectiverecord component.final booleanIndicates whether some other object is "equal to" this one.exchange()Returns the value of theexchangerecord component.final inthashCode()Returns a hash code value for this object.booleanisEmpty()Returns true when the provider did not return a symbol transition.Returns the value of thenewSymbolrecord component.Returns the value of theoldSymbolrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EODSymbolChangeHistoryResponse
public EODSymbolChangeHistoryResponse(String exchange, String oldSymbol, String newSymbol, String companyName, String effective) Creates an instance of aEODSymbolChangeHistoryResponserecord class.- Parameters:
exchange- the value for theexchangerecord componentoldSymbol- the value for theoldSymbolrecord componentnewSymbol- the value for thenewSymbolrecord componentcompanyName- the value for thecompanyNamerecord componenteffective- the value for theeffectiverecord component
-
-
Method Details
-
isEmpty
public boolean isEmpty()Returns true when the provider did not return a symbol transition.- Specified by:
isEmptyin interfaceGenericIntegrationResponse- Returns:
- boolean
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
exchange
-
oldSymbol
-
newSymbol
-
companyName
Returns the value of thecompanyNamerecord component.- Returns:
- the value of the
companyNamerecord component
-
effective
-