org.sourceforge.ifx.basetypes
Interface IBaseType

All Known Implementing Classes:
AddressTypeCode, AddressTypeCode, AddressTypeCode, AustrianBankleitzahlIdentifier, AustrianBankleitzahlIdentifier, AustrianBankleitzahlIdentifier, BatchBookingIndicator, BBANIdentifier, BBANIdentifier, BBANIdentifier, BEIIdentifier, BEIIdentifier, BEIIdentifier, BICIdentifier, BICIdentifier, BICIdentifier, BinData_Type, Boolean, C, C, CanadianPaymentsARNIdentifier, CanadianPaymentsARNIdentifier, CanadianPaymentsARNIdentifier, CashAccountTypeCode, CashAccountTypeCode, CashAccountTypeCode, CashClearingSystemCode, CashClearingSystemCode, CashClearingSystemCode, ChargeBearerCode, ChequeDeliveryCode, ChequeTypeCode, CHIPSParticipantIdentifier, CHIPSParticipantIdentifier, CHIPSParticipantIdentifier, CHIPSUniversalIdentifier, CHIPSUniversalIdentifier, CHIPSUniversalIdentifier, CountryCode, CountryCode, CountryCode, CreditTransferTypeCode, CreditTransferTypeCode, CreditTransferTypeCode, CurrencyAndAmount_SimpleType, CurrencyAndAmount_SimpleType, CurrencyAndAmount_SimpleType, CurrencyCode, CurrencyCode, CurrencyCode, Date, Date, DateTime, DateTime, Decimal, Decimal, DecimalNumber, DocumentType1Code, DunsIdentifier, DunsIdentifier, DunsIdentifier, EANGLNIdentifier, EANGLNIdentifier, EANGLNIdentifier, ExtensiveBranchNetworkIdentifier, ExtensiveBranchNetworkIdentifier, ExtensiveBranchNetworkIdentifier, FedwireRoutingNumberIdentifier, FedwireRoutingNumberIdentifier, FedwireRoutingNumberIdentifier, GermanBankleitzahlIdentifier, GermanBankleitzahlIdentifier, GermanBankleitzahlIdentifier, GroupingIndicator, HexBinary, HongKongBankIdentifier, HongKongBankIdentifier, HongKongBankIdentifier, IBANIdentifier, IBANIdentifier, IBANIdentifier, IFXBase64Binary, IFXBoolean, IFXDate, IFXDateTime, IFXDecimal, IFXLong, IFXString, IFXTime, InstructionCode, IrishNSCIdentifier, IrishNSCIdentifier, IrishNSCIdentifier, ISODate, ISODate, ISODate, ISODateTime, ISODateTime, ISODateTime, ItalianDomesticIdentifier, ItalianDomesticIdentifier, ItalianDomesticIdentifier, Long, Long, Max105Text, Max105Text, Max128Text, Max140Text, Max15NumericText, Max16Text, Max16Text, Max16Text, Max35Text, Max35Text, Max35Text, Max3Text, Max70Text, Max70Text, Max70Text, NC, NC, NewZealandNCCIdentifier, NewZealandNCCIdentifier, NewZealandNCCIdentifier, PaymentMethodCode, PaymentMethodCode, PaymentMethodCode, PaymentPurposeCode, PaymentReject1Code, PaymentStatusCode, PaymentStatusCode, PercentageRate, PhoneNumber, PhoneNumber, PortugueseNCCIdentifier, PortugueseNCCIdentifier, PortugueseNCCIdentifier, PriorityCode, PriorityCode, PriorityCode, RemittanceLocationMethodCode, RussianCentralBankIdentificationCodeIdentifier, RussianCentralBankIdentificationCodeIdentifier, RussianCentralBankIdentificationCodeIdentifier, SmallNetworkIdentifier, SmallNetworkIdentifier, SmallNetworkIdentifier, SouthAfricanNCCIdentifier, SouthAfricanNCCIdentifier, SouthAfricanNCCIdentifier, SpanishDomesticInterbankingIdentifier, SpanishDomesticInterbankingIdentifier, SpanishDomesticInterbankingIdentifier, SwissBCIdentifier, SwissBCIdentifier, SwissBCIdentifier, SwissSICIdentifier, SwissSICIdentifier, SwissSICIdentifier, Time, Time, Timestamp, UKDomesticSortCodeIdentifier, UKDomesticSortCodeIdentifier, UKDomesticSortCodeIdentifier, UPICIdentifier, UPICIdentifier, UPICIdentifier

public interface IBaseType

The IBaseType interface provides two methods to convert from and to a String. This interface is implemented by objects which model xsd datatypes, since we need a way to convert from the string representation in the XML file to the internal object representation, and vice versa.

Version:
$Revision: 1.3 $
Author:
Sujit Pal (spal@users.sourceforge.net)

Method Summary
 java.lang.String getString()
          Returns the string representation of the underlying basetype object.
 void setString(java.lang.String s)
          Converts the supplied string to its internal representation.
 

Method Detail

getString

public java.lang.String getString()
Returns the string representation of the underlying basetype object.

Returns:
the string

setString

public void setString(java.lang.String s)
Converts the supplied string to its internal representation.

Parameters:
s - the string to convert.