/** * Creates a Property with arity SCALAR. * * @param name The displayable name of the property * @param type The type of property * @param value The value of the property. The type of the * parameter must agree with <code>type</code>. */ public Property (String name, PropertyType type, Object value) { init (name, type, PropertyArity.SCALAR, value); }
/** * Creates a Property with a given name, type, arity and value. * * @param name The displayable name of the property. * @param type The type of property. * @param arity The arity of the property. * @param value The value of the property. If the arity is * SCALAR, the type of this parameter must agree * with <code>type</code>. Otherwise, the arity * must agree with <code>arity</code>, and its * components must agree with <code>type</code>. */ public Property (String name, PropertyType type, PropertyArity arity, Object value) { init (name, type, arity, value); }