Class OrderType

  • All Implemented Interfaces:
    java.lang.Cloneable, java.lang.Comparable<java.lang.Object>, Identifiable, Named, Unique

    public class OrderType
    extends ObjectType
    This class contains an abstract order.
    Author:
    stm
    • Constructor Detail

      • OrderType

        public OrderType​(ID id)
        Parameters:
        id -
    • Method Detail

      • getSyntax

        public java.lang.String getSyntax()
        Returns the value of syntax.
        Returns:
        Returns syntax.
      • setSyntax

        public void setSyntax​(java.lang.String syntax)
        Sets the value of syntax.
        Parameters:
        syntax - The value for syntax.
      • isInternal

        public boolean isInternal()
        Returns the value of internal.
        Returns:
        Returns internal.
      • setInternal

        public void setInternal​(boolean internal)
        Sets the value of internal.
        Parameters:
        internal - The value for internal.
      • isActive

        public boolean isActive()
        Returns the value of active.
        Returns:
        Returns active.
      • setActive

        public void setActive​(boolean active)
        Sets the value of active.
        Parameters:
        active - The value for active.
      • addName

        public void addName​(java.util.Locale loc,
                            java.lang.String name)
      • getNames

        public java.util.List<java.lang.String> getNames​(java.util.Locale loc)
        Returns all registered localized order names.
        Parameters:
        loc -
        Returns:
        The list of names or null if no such name has been added.
      • getName

        public java.lang.String getName​(java.util.Locale loc)
        Returns a localized order name.
        Parameters:
        loc -
        Returns:
        The name or null if no such name has been added.