Пример #1
0
 /**
  * The constructor class, builds a new DSRESTParameter assigning the values ​​passed as input.
  *
  * @param Name the name of the parameter.
  * @param Direction a value of type integer that represents the parameter direction, respecting the conventions of the {@link DSRESTParamDirection}.
  * @param DBXType an integer value that represents the DBXType of this parameter , respecting the conventions of the {@link DBXValueType}.
  * @param TypeName a string that contains the TypeName of this parameter.
  */
 public DSRESTParameter(String Name, int Direction, int DBXType,
         String TypeName)
 {
     this.Name = Name;
     this.Direction = Direction;
     this.TypeName = TypeName;
     this.value = new DBXWritableValue();
     this.value.setDBXType(DBXType);
 }
Пример #2
0
        /**
         * The constructor class, builds a new DSRESTParameter assigning the values ​​passed as input.
         *
         * @param Name the name of the parameter.
         * @param Direction a value of type integer that represents the parameter direction, respecting the conventions of the {@link DSRESTParamDirection}.
         * @param DBXType an integer value that represents the DBXType of this parameter , respecting the conventions of the {@link DBXValueType}.
         * @param TypeName a string that contains the TypeName of this parameter.
         */

        public DSRESTParameter(String Name, int Direction, int DBXType,
                               String TypeName)
        {
            this.Name      = Name;
            this.Direction = Direction;
            this.TypeName  = TypeName;
            this.value     = new DBXWritableValue();
            this.value.setDBXType(DBXType);
        }