com.ibm.commerce.installment.facade.server.metadata

Class InstallmentMetadata



  • public class InstallmentMetadata
    extends ComponentMetadata
    This class provides the Installment metadata for the data service layer.
    • Field Detail

      • COMPONENT_ID

        public static final java.lang.String COMPONENT_ID
        The component ID.
        See Also:
        Constant Field Values
      • UTF8_ENCODING

        public static final java.lang.String UTF8_ENCODING
        UTF-8 encoding.
        See Also:
        Constant Field Values
      • CATALOGENTRYINSTALLMENTPRICE_NAME_LENGTH_LIMIT

        public static final int CATALOGENTRYINSTALLMENTPRICE_NAME_LENGTH_LIMIT
        See Also:
        Constant Field Values
      • CATALOGENTRYINSTALLMENTPRICE_DESCRIPTION_LENGTH_LIMIT

        public static final int CATALOGENTRYINSTALLMENTPRICE_DESCRIPTION_LENGTH_LIMIT
        See Also:
        Constant Field Values
      • ORDERINSTALLMENTPRICE_NAME_LENGTH_LIMIT

        public static final int ORDERINSTALLMENTPRICE_NAME_LENGTH_LIMIT
        See Also:
        Constant Field Values
      • ORDERINSTALLMENTPRICE_DESCRIPTION_LENGTH_LIMIT

        public static final int ORDERINSTALLMENTPRICE_DESCRIPTION_LENGTH_LIMIT
        See Also:
        Constant Field Values
      • INSTALLMENTRULE_NAME_LENGTH_LIMIT

        public static final int INSTALLMENTRULE_NAME_LENGTH_LIMIT
        See Also:
        Constant Field Values
      • INSTALLMENTRULE_DESCRIPTION_LENGTH_LIMIT

        public static final int INSTALLMENTRULE_DESCRIPTION_LENGTH_LIMIT
        See Also:
        Constant Field Values
    • Constructor Detail

      • InstallmentMetadata

        public InstallmentMetadata()
    • Method Detail

      • invalidStringLength

        public static boolean invalidStringLength(java.lang.String str,
                                                  int maxLength)
        This method checks if the specified string exceed the maximum length that can be stored in the database. The maximum length is specified in the number of bytes.
        Parameters:
        str - The string to check.
        maxLength - The maximum length of the string specified in the number of bytes.
        Returns:
        This method returns true if the string length exceeds the maximum number of bytes, otherwise it will return false.
      • now

        public static java.util.Date now()
        Returns the current date and time.
        Returns:
        the current date and time.
      • getDataServiceFacade

        public static DataServiceFacade getDataServiceFacade()
        This method returns the data service facade to use for interaction with the persistence layer.
        Returns:
        This method returns the data service facade to use for interaction with the persistence layer.
      • getEPackageName

        public java.lang.String getEPackageName()
        This method gets the Installment physical SDO EPackage name.
        Specified by:
        getEPackageName in class ComponentMetadata
        Returns:
        This method returns the Installment physical SDO EPackage name.
      • getRootEClass

        public org.eclipse.emf.ecore.EClass getRootEClass()
        This method gets the root class.
        Overrides:
        getRootEClass in class ComponentMetadata
        Returns:
        This method returns the root class.