/** * set if a 'set' operation generated through the attribute and relation 'add set operation' menu * is final by default * * <p>On error : return FALSE in C++, produce a RuntimeException in Java */ public static void set_IsSetFinal(boolean v) throws RuntimeException { UmlCom.send_cmd( CmdFamily.phpSettingsCmd, PhpSettingsCmd._setPhpIsSetFinalCmd, (v) ? (byte) 1 : (byte) 0); UmlCom.check(); _is_set_final = v; }
/** * set the referenced sub machine state (may be 0/null) * * <p>On error return FALSE in C++, produce a RuntimeException in Java */ public void set_Reference(UmlEntryPointPseudoState v) throws RuntimeException { UmlCom.send_cmd( identifier_(), OnInstanceCmd.setDerivedCmd, (v == null) ? (long) 0 : v.identifier_()); UmlCom.check(); _reference = v; }
/** * set if a relative path must be used when the path must be generated in the produced * require_once * * <p>On error : return FALSE in C++, produce a RuntimeException in Java */ public static void set_IsRelativePath(boolean v) throws RuntimeException { UmlCom.send_cmd( CmdFamily.phpSettingsCmd, PhpSettingsCmd._setPhpRelativePathCmd, (v) ? (byte) 1 : (byte) 0); UmlCom.check(); _is_relative_path = v; if (v) _is_root_relative_path = false; }
/** * to indicates to the code generator if the require_once may specify the path of just the file's * name * * <p>On error : return FALSE in C++, produce a RuntimeException in Java */ public static void set_RequireOnceWithPath(boolean v) throws RuntimeException { UmlCom.send_cmd( CmdFamily.phpSettingsCmd, PhpSettingsCmd._setPhpRequireOnceWithPathCmd, (v) ? (byte) 1 : (byte) 0); UmlCom.check(); _req_with_path = v; }
/** * set if the namespace prefix must be always generated before class's names * * <p>On error : return FALSE in C++, produce a RuntimeException in Java */ public static void set_IsForceNamespacePrefixGeneration(boolean v) throws RuntimeException { UmlCom.send_cmd( CmdFamily.phpSettingsCmd, PhpSettingsCmd._setPhpForceNamespaceGenCmd, (v) ? (byte) 1 : (byte) 0); UmlCom.check(); _is_force_namespace_gen = v; }
protected static void read_if_needed_() { UmlSettings.read_if_needed_(); if (!_defined) { UmlCom.send_cmd(CmdFamily.phpSettingsCmd, PhpSettingsCmd._getPhpSettingsCmd); read_(); _defined = true; } }
/** * to set if out/inout parameters are given by reference * * <p>On error : return FALSE in C++, produce a RuntimeException in Java */ public static void set_IsOutInoutParametersByReference(boolean y) throws RuntimeException { UmlCom.send_cmd( CmdFamily.phpSettingsCmd, PhpSettingsCmd._setPhpOutInoutParametersByReferenceCmd, (y) ? (byte) 1 : (byte) 0); UmlCom.check(); _is_out_inout_by_ref = y; }
/** * to set if parameters are typed by default * * <p>On error : return FALSE in C++, produce a RuntimeException in Java */ public static void set_IsParametersTyped(boolean y) throws RuntimeException { UmlCom.send_cmd( CmdFamily.phpSettingsCmd, PhpSettingsCmd._setPhpParametersTypedCmd, (y) ? (byte) 1 : (byte) 0); UmlCom.check(); _is_param_typed = y; }
/** * set the PHP stereotype corresponding to the 'UML' stereotype given in argument * * <p>On error : return FALSE in C++, produce a RuntimeException in Java */ public static void set_ClassStereotype(String s, String v) throws RuntimeException { read_if_needed_(); UmlCom.send_cmd(CmdFamily.phpSettingsCmd, PhpSettingsCmd._setPhpClassStereotypeCmd, s, v); UmlCom.check(); UmlStereotype st = (UmlStereotype) UmlSettings._map_class_stereotypes.get(s); if (st == null) st = UmlSettings.add_class_stereotype(s); st.php = v; }
/** * set the default source file content * * <p>On error : return FALSE in C++, produce a RuntimeException in Java */ public static void set_SourceContent(String v) throws RuntimeException { UmlCom.send_cmd(CmdFamily.phpSettingsCmd, PhpSettingsCmd._setPhpSourceContentCmd, v); UmlCom.check(); _src_content = v; }
/** * set the default definition of an operation * * <p>On error : return FALSE in C++, produce a RuntimeException in Java */ public static void set_OperationDef(String v) throws RuntimeException { UmlCom.send_cmd(CmdFamily.phpSettingsCmd, PhpSettingsCmd._setPhpOperationDefCmd, v); UmlCom.check(); _oper_def = v; }
/** * set the default definition of an relation * * <p>On error : return FALSE in C++, produce a RuntimeException in Java */ public static void set_RelationDecl(String v) throws RuntimeException { UmlCom.send_cmd(CmdFamily.phpSettingsCmd, PhpSettingsCmd._setPhpRelationDeclCmd, v); UmlCom.check(); _rel_decl = v; }
/** * set the default definition of an attribute * * <p>On error : return FALSE in C++, produce a RuntimeException in Java */ public static void set_AttributeDecl(String v) throws RuntimeException { UmlCom.send_cmd(CmdFamily.phpSettingsCmd, PhpSettingsCmd._setPhpAttributeDeclCmd, v); UmlCom.check(); _attr_decl = v; }
/** * set the default definition of an enumeration item * * <p>On error : return FALSE in C++, produce a RuntimeException in Java */ public static void set_EnumItemDecl(String v) throws RuntimeException { UmlCom.send_cmd(CmdFamily.phpSettingsCmd, PhpSettingsCmd._setPhpEnumItemDeclCmd, v); UmlCom.check(); _enum_item_decl = v; }
/** * returns TRUE when the created Php objects are initialized with the default * declaration/definition */ public static boolean useDefaults() { UmlCom.send_cmd(CmdFamily.phpSettingsCmd, PhpSettingsCmd._getPhpUseDefaultsCmd); return UmlCom.read_bool(); }
/** * set the default name of a 'set' operation generated through the attribute and relation 'add set * operation' menu * * <p>On error : return FALSE in C++, produce a RuntimeException in Java */ public static void set_SetName(String v) throws RuntimeException { UmlCom.send_cmd(CmdFamily.phpSettingsCmd, PhpSettingsCmd._setPhpSetNameCmd, v); UmlCom.check(); _set_name = v; }
/** * set if generate Javadoc style comment * * <p>On error : return FALSE in C++, produce a RuntimeException in Java */ public static void set_IsGenerateJavadocStyleComment(boolean v) { UmlCom.send_cmd( CmdFamily.phpSettingsCmd, PhpSettingsCmd._setPhpJavadocStyleCmd, (v) ? (byte) 1 : (byte) 0); UmlCom.check(); _is_generate_javadoc_comment = v; }
/** * set the regular expression used to bypass file s on reverse/roundtrip On error : return FALSE * in C++, produce a RuntimeException in Java */ public static void set_ReverseRoundtripFileRegExp(String s, boolean cs) throws RuntimeException { UmlCom.send_cmd(CmdFamily.phpSettingsCmd, PhpSettingsCmd._setPhpFileRevFilterCmd, s, cs); UmlCom.check(); _file_regexp = s; _file_regexp_case_sensitive = cs; }
/** * if y is TRUE the future created Php objects will be initialized with the default * declaration/definition * * <p>On error : return FALSE in C++, produce a RuntimeException in Java */ public static void set_UseDefaults(boolean y) throws RuntimeException { UmlCom.send_cmd( CmdFamily.phpSettingsCmd, PhpSettingsCmd._setPhpUseDefaultsCmd, (y) ? (byte) 1 : (byte) 0); UmlCom.check(); }
/** * set the default specification for an 'external' class * * <p>On error : return FALSE in C++, produce a RuntimeException in Java */ public static void set_ExternalClassDecl(String v) throws RuntimeException { UmlCom.send_cmd(CmdFamily.phpSettingsCmd, PhpSettingsCmd._setPhpExternalClassDeclCmd, v); UmlCom.check(); _external_class_decl = v; }
/** * set the extension of the file produced by the PHP code generator * * <p>On error : return FALSE in C++, produce a RuntimeException in Java */ public static void set_SourceExtension(String v) throws RuntimeException { UmlCom.send_cmd(CmdFamily.phpSettingsCmd, PhpSettingsCmd._setPhpSourceExtensionCmd, v); UmlCom.check(); _ext = v; }
/** * set the 'root' directory * * <p>On error : return FALSE in C++, produce a RuntimeException in Java */ public static void set_RootDir(String v) throws RuntimeException { UmlCom.send_cmd(CmdFamily.phpSettingsCmd, PhpSettingsCmd._setPhpRootdirCmd, v); UmlCom.check(); _root = v; }
/** * set the default definition of an interface * * <p>On error : return FALSE in C++, produce a RuntimeException in Java */ public static void set_InterfaceDecl(String v) throws RuntimeException { UmlCom.send_cmd(CmdFamily.phpSettingsCmd, PhpSettingsCmd._setPhpInterfaceDeclCmd, v); UmlCom.check(); _interface_decl = v; }