format 75
"wholesale" // iplan::models::wholesale
  revision 82
  modified_by 5 "jviqueira"
  // class settings
  //class diagram settings
  draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default
  //use case diagram settings
  package_name_in_tab default show_context default auto_label_position default draw_all_relations default class_drawing_mode default shadow default show_stereotype_properties default
  //sequence diagram settings
  show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default show_stereotype_properties default show_class_context_mode default show_msg_context_mode default
  //collaboration diagram settings
  show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default show_msg_context default draw_all_relations default shadow default show_stereotype_properties default
  //object diagram settings
   write_horizontally default package_name_in_tab default show_context default auto_label_position default draw_all_relations default shadow default show_stereotype_properties default
  //component diagram settings
  package_name_in_tab default show_context default auto_label_position default draw_all_relations default shadow default
  draw_component_as_icon default show_component_req_prov default show_component_rea default show_stereotype_properties default
  //deployment diagram settings
  package_name_in_tab default show_context default write_horizontally default auto_label_position default draw_all_relations default shadow default
  draw_component_as_icon default show_component_req_prov default show_component_rea default show_stereotype_properties default
  //state diagram settings
  package_name_in_tab default show_context default auto_label_position default write_trans_label_horizontally default show_trans_definition default draw_all_relations default shadow default
  show_activities default region_horizontally default drawing_language default show_stereotype_properties default
  //activity diagram settings
  package_name_in_tab default show_context default show_opaque_action_definition default auto_label_position default write_flow_label_horizontally default draw_all_relations default shadow default
  show_infonote default drawing_language default show_stereotype_properties default
  
  php_dir "iplan/models/wholesale/"
  package_ref 219909 // forms

  package_ref 232965 // tasks

  classview 193285 "Wholesale Class View"
    //class diagram settings
    draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default
    //collaboration diagram settings
    show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default show_msg_context default draw_all_relations default shadow default show_stereotype_properties default
    //object diagram settings
     write_horizontally default package_name_in_tab default show_context default auto_label_position default draw_all_relations default shadow default show_stereotype_properties default
    //sequence diagram settings
    show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default show_stereotype_properties default show_class_context_mode default show_msg_context_mode default
    //state diagram settings
    package_name_in_tab default show_context default auto_label_position default write_trans_label_horizontally default show_trans_definition default draw_all_relations default shadow default
    show_activities default region_horizontally default drawing_language default show_stereotype_properties default
    //class settings
    //activity diagram settings
    package_name_in_tab default show_context default show_opaque_action_definition default auto_label_position default write_flow_label_horizontally default draw_all_relations default shadow default
    show_infonote default drawing_language default show_stereotype_properties default
    associated_deployment_view deploymentview_ref 200069 // Wholesale Data Deployment
    classdiagram 193413 "Wholesale Class Diagram"
      draw_all_relations no hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default
      size A3-Landscape
    end

    class 552325 "Reseller"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Un Reseller (revendedor) es alguien que puede crear clientes y administrarlos. Un Reseller tambin puede crear y administrar otros Resellers dependiendo de l.

@method Reseller setPrefix()
@method string getPrefix()
@method Reseller setTenfoldId()
@method string getTenfoldId()
@method Reseller setAccountAndOrder()
@method boolean getAccountAndOrder()
@method Reseller setStatus()
@method boolean getStatus()
@method Reseller setCreated()
@method DateTime getCreated()
@method Reseller setModified()
@method DateTime getModified()
@method Reseller setDisabled()
@method DateTime getDisabled()
@method ORMCollection getBlocks()
@method Reseller addBlock()
@method Reseller delBlock()
@method ORMCollection getResources()
@method Reseller addResource()
@method Reseller delResource()
@method ORMCollection getClients()
@method Reseller addClient()
@method Reseller delClient()
@method ORMCollection getServiceProviders()
@method Reseller addServiceProvider()
@method Reseller delServiceProvider()
@method Reseller setProvider()
@method Provider getProvider()
@method Reseller addPricesList()
@method ORMCollection getPricesLists()
@method Rseller setPricesLists()

"
      attribute 738437 "prefix"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string TODO"
      end

      attribute 738565 "tenfoldId"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string el identificador del Reseller en 10fold"
      end

      classrelation 773125 // blocks (<aggregation>)
	relation 769797 o---
	  a role_name "blocks" multiplicity "*" protected
	    comment "@var ORMCollection son los bloques asignados al Reseller para su administracin"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 773125 // blocks (<aggregation>)
	  b role_name "reseller" multiplicity "0..1" protected
	    comment "@var Reseller es el propietario del bloque. Puede ser nulo y en cuyo caso se trata de un bloque disponible."
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 773253 // reseller (<aggregation>)
      end

      classrelation 774661 // <composition>
	relation_ref 770565 // <composition>
      end

      classrelation 774917 // provider (<unidirectional association>)
	relation 770821 --->
	  a role_name "provider" multiplicity "0..1" protected
	    comment "@var Provider el usuario provider que le corresponde al Reseller"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 774917 // provider (<unidirectional association>)
	  b parent class_ref 443269 // Provider
      end

      classrelation 781445 // serviceProviders (<association>)
	relation 777349 ----
	  a role_name "serviceProviders" multiplicity "1..*" protected
	    comment "@var ORMCollection un Reseller puede tener una o ms particiones de BroadSoft para l. Esto se agrega para ser compatible con la estructura de tablas existentes."
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 781445 // serviceProviders (<association>)
	  b role_name "reseller" multiplicity "0..1" protected
	    comment "@var Reseller el reseller que usan este service provider. Puede ser nulo."
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 784005 // reseller (<association>)
      end

      classrelation 781701 // <generalisation>
	relation 777605 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 781701 // <generalisation>
	  b parent class_ref 141317 // ORMObject
      end

      attribute 747141 "accountAndOrder"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var boolean indica si el Reseller trabaja por cuenta y orden de la empresa. Probablemente la traduccin hubiese sido \"out on behalf and by order\" pero no daba poner ese nombre."
      end

      attribute 801029 "name"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string el nombre del revendedor. Este campo qued ac por razones histricas."
      end

      attribute 748549 "status"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var boolean indica si el Reseller est habilitado o no."
      end

      attribute 747397 "created"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime la fecha en que se cre el registro"
      end

      attribute 747525 "modified"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime la fecha de ltima modificacin"
      end

      attribute 747653 "disabled"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime la fecha en que el status fue puesto en FALSE"
      end

      classrelation 896517 // pricesLists (<association>)
	relation 889861 ----
	  a role_name "pricesLists" multiplicity "*" protected
	    comment "@var ORMCollection la coleccin de las listas de precios del revendedor"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 896517 // pricesLists (<association>)
	  b role_name "reseller" multiplicity "1" protected
	    comment "@var Reseller el revendedor que subi la lista."
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 896645 // reseller (<association>)
      end

      operation 1138693 "define"
	class_operation preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna un objeto de definicin predeterminado al cual hay que agregarle los mapeos pertinentes.
@param iplan\\orm\\ORM $orm el manejador de objetos para el cual se registra la definicin
@return ORMDefinition la definicin default"
      end
    end

    class 552453 "Resource"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Un Resource es una caracterstica configurable de la plataforma o producto que se le vende al cliente.

@method Resource setDescription()
@method string getDescription()
@method Resource setField()
@method string getField()
@method ORMCollection getResellers()
@method Resource addReseller()
@method Resource delReseller()

"
      attribute 738821 "description"
	protected explicit_type ""
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string la descripcin del resource"
      end

      attribute 738949 "field"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string se trata de una forma de una forma de saber qu campo marcar en la tabla de lineas para habilitar/deshabilitar el feature."
      end

      classrelation 847109 // serviceProviders (<association>)
	relation 841349 ----
	  a role_name "serviceProviders" multiplicity "*" protected
	    comment "@var ORMCollection indica los recursos que estn relacionados a un ServiceProvider"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 847109 // serviceProviders (<association>)
	  b role_name "resources" multiplicity "*" protected
	    comment "@var ORMCollection lista los Resellers que tienen acceso a configurar ciertos recursos"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 847237 // resources (<association>)
      end

      classrelation 781573 // <generalisation>
	relation 777477 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 781573 // <generalisation>
	  b parent class_ref 141317 // ORMObject
      end

      operation 1138821 "define"
	class_operation preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna un objeto de definicin predeterminado al cual hay que agregarle los mapeos pertinentes.
@param iplan\\orm\\ORM $orm el manejador de objetos para el cual se registra la definicin
@return ORMDefinition la definicin default"
      end
    end

    class 552581 "ServiceProvider"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Un \"service provider\" es el nombre que se le da en BroadSoft a los tipos de central preconfigurados por IPlan para la venta.

@method ServiceProvider setDescription()
@method string getDescription()
@method ServiceProvider setIdentifier()
@method string getIdentifier()
@method Reseller getReseller()
@method ServiceProvider setReseller()


"
      attribute 738693 "description"
	protected explicit_type ""
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string la descripcin del service provider, por lo general un \"producto\" de Marketing"
      end

      attribute 739333 "identifier"
	protected explicit_type ""
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string el identificador del \"Service Provider\" en BroadSoft"
      end

      classrelation 781957 // <generalisation>
	relation 777861 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 781957 // <generalisation>
	  b parent class_ref 141317 // ORMObject
      end

      classrelation 784005 // reseller (<association>)
	relation_ref 777349 // <association>
      end

      classrelation 846853 // servicePacks (<association>)
	relation 841221 ----
	  a role_name "servicePacks" multiplicity "*" protected
	    comment "@var ORMCollection una lista de los Service Pack que tiene habilitado el Provider"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 846853 // servicePacks (<association>)
	  b role_name "providers" multiplicity "*" protected
	    comment "@var ORMCollection una lista de los Providers que tienen autorizacin para usar el Service Pack"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 846981 // providers (<association>)
      end

      classrelation 847237 // resources (<association>)
	relation_ref 841349 // <association>
      end

      classrelation 938885 // product (<unidirectional association>)
	relation 931973 --->
	  a role_name "product" multiplicity "1" protected
	    comment "@var Product El producto para el cual fue creado el service provider."
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 938885 // product (<unidirectional association>)
	  b parent class_ref 689413 // Product
      end

      operation 1138949 "define"
	class_operation preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna un objeto de definicin predeterminado al cual hay que agregarle los mapeos pertinentes.
@param iplan\\orm\\ORM $orm el manejador de objetos para el cual se registra la definicin
@return ORMDefinition la definicin default"
      end
    end

    class 552709 "NumerationBlock"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Representa un rango de nmeros de lneas que se asigna a un Reseller para su distribucin entre sus clientes y revendedores.

@method int getFrom()
@method NumerationBlock setFrom()
@method int getTo()
@method NumerationBlock setTo()
@method NumerationBlock setReseller()
@method Reseller getReseller()
"
      attribute 739077 "from"
	protected explicit_type "int"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var int el primer nmero del rango"
      end

      attribute 739205 "to"
	protected explicit_type "int"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var int el nmero donde termina el rango"
      end

      classrelation 773253 // reseller (<aggregation>)
	relation_ref 769797 // <aggregation>
      end

      classrelation 781829 // <generalisation>
	relation 777733 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 781829 // <generalisation>
	  b parent class_ref 141317 // ORMObject
      end

      operation 1139077 "define"
	class_operation preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna un objeto de definicin predeterminado al cual hay que agregarle los mapeos pertinentes.
@param iplan\\orm\\ORM $orm el manejador de objetos para el cual se registra la definicin
@return ORMDefinition la definicin default"
      end
    end

    class 552837 "Client"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Representa a un consumidor de servicios de un Reseller. Obviamente un cliente que puede tener varios sitios y servicios asociados.

@method Client setClientNumber()
@method Int getClientNumber()
@method Client setName()
@method string getName()
@method Client setUsername()
@method string getUsername()
@method Client setMail()
@method string getMail()
@method Client setPhone()
@method string getPhone()
@method Client setAlternativePhone()
@method string getAlternativePhone()
@method Client setStatus()
@method boolean getStatus()
@method Client setCreated()
@method DateTime getCreated()
@method Client setModified()
@method DateTime getModified()
@method Client setDisabled()
@method DateTime getDisabled()
@method Client  setPayPlan()
@method PayPlan getPayPlan()
@method Client setUser()
@method User getUser()
@method ORMCollection getSites()
@method Client addSite()
@method Client delSite()
@method Client setReseller()
@method Reseller getReseller()
@method Client setPasswordWeb()
@method string getPasswordWeb()
@method Client setContactName()
@method string getContactName()
@method Client setContactLastName()
@method string getContactLastName()
@method Client setClientType()
@method int getClientType()

Cosas de DNS
@method ORMCollection getZones()
@method Client addZone()
@method Zone delZone()

"
      attribute 1255173 "WEB_CLIENT"
	const_attribute package explicit_type "int"
	init_value "1"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@const int Constante que indica que el cliente es web, es decir, su vinculación con la empresa fue a través del portal web"
      end

      attribute 1255301 "DIRECT_CLIENT"
	const_attribute package explicit_type "int"
	init_value "0"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@const int Constante que indica que el cliente tuvo vinculación directa con la empresa a través de un canal de venta tradicional NO WEB."
      end

      attribute 739589 "clientNumber"
	protected explicit_type "int"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var int el identificador del cliente en 10fold"
      end

      classrelation 774533 // reseller (<composition>)
	relation 770565 *---
	  a role_name "reseller" multiplicity "1" protected
	    comment "@var Reseller el administrador o responsable comercial del cliente"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 774533 // reseller (<composition>)
	  b role_name "clients" multiplicity "*" protected
	    comment "@var ORMCollection la lista de clientes del Reseller"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 774661 // <composition>
      end

      attribute 739717 "status"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var boolean indica si el cliente est vigente o si fue dado de baja."
      end

      attribute 739845 "username"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string el nombre de usuario de la central PBX de BroadSoft."
      end

      classrelation 774789 // user (<unidirectional association>)
	relation 770693 --->
	  a role_name "user" multiplicity "0..1" protected
	    comment "@var User el usuario en el framework"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 774789 // user (<unidirectional association>)
	  b parent class_ref 396165 // User
      end

      attribute 739461 "created"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime la fecha en que se cre el registro"
      end

      attribute 739973 "modified"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime la fecha de ltima modificacin"
      end

      attribute 740101 "disabled"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime la fecha en que el status fue puesto en FALSE"
      end

      attribute 740229 "mail"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string el email del cliente"
      end

      attribute 740357 "phone"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string el telfono principal de contacto"
      end

      attribute 740485 "alternativePhone"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string el telfono alternativo para contacto"
      end

      attribute 809477 "name"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string la razn social del cliente"
      end

      classrelation 782469 // sites (<aggregation>)
	relation 778373 o---
	  a role_name "sites" multiplicity "*" protected
	    comment "@var ORMCollection la lista de sitios del cliente"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 782469 // sites (<aggregation>)
	  b role_name "client" multiplicity "1" protected
	    comment "@var Client el cliente que es dueo del sitio."
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 782597 // client (<aggregation>)
      end

      classrelation 782853 // payPlan (<unidirectional association>)
	relation 778629 --->
	  a role_name "payPlan" multiplicity "1" protected
	    comment "@var PayPlan indica el tipo de pago del cliente"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 782853 // payPlan (<unidirectional association>)
	  b parent class_ref 552965 // PayPlan
      end

      classrelation 782085 // <generalisation>
	relation 777989 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 782085 // <generalisation>
	  b parent class_ref 141317 // ORMObject
      end

      attribute 1023877 "passwordWeb"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string el password de la central PBX de BroadSoft"
      end

      attribute 1024005 "contactName"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string el nombre del contacto"
      end

      attribute 1024133 "contactLastName"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string el apellido del contacto"
      end

      attribute 1248645 "clientType"
	protected explicit_type "int"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var int un flag que indica el tipo de cliente en base a su modo de registro (via web o compra directa)"
      end

      attribute 1926277 "subscription"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var ${type} el número de suscripción (únicamente para CPANEL-DNS)"
      end

      classrelation 1844741 // zones (<association>)
	relation_ref 209414 // <association>
      end

      operation 1139205 "define"
	class_operation preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna un objeto de definición predeterminado al cual hay que agregarle los mapeos pertinentes.
@param ORM $orm el manejador de objetos para el cual se registra la definición
@return ORMDefinition la definición default"
      end

      operation 1511429 "save"
	preserve_cpp_body_indent cpp_virtual public explicit_return_type "bool"
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Verifica si el objeto fue modificado y lo guarda.
Este mtodo permite abstraer a las clases descendientes de la necesidad de determinar si el objeto fue alterado o no y oculta la complejidad subyacente a las clases descendientes.
@param ORM $orm opcionalmente se debe indicar la instancia del ORM que mantiene el objeto. Esto slo es posible si el objeto es nuevo o DETACHED. En el caso que ya estuviera bajo monitoreo de un ORM arrojar una excepcin.

Se pens en que se podra hacer el cambio de un ORM a otro, pero el ID debera limpiarse, con lo cual slo un INSERT se podra hacer sobre el destino y los objetos relacionados estaran an con otro ORM lo cual es complicado (manejo de objetos distribudos) por lo cual se deja a consideracin de futuras versiones, posiblemente en otra vida =)"
      end

      operation 1511557 "delete"
	preserve_cpp_body_indent public explicit_return_type "bool"
	nparams 0
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Borra fsicamente un objeto de la base. Al borrarse el objeto adems se ponen a null los campos de las entidades relacionadas que lo referenciaban y se eliminan los registros de las tablas relacin M:N

@return boolean un booleando TRUE si la operacin fue concretada con xito o FALSE sino."
      end
    end

    class 552965 "PayPlan"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Se trata del plan de pago que tiene el un sitio.

@method PayPlan setDescription()
@method string getDescription()
"
      classrelation 782213 // <generalisation>
	relation 778117 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 782213 // <generalisation>
	  b parent class_ref 141317 // ORMObject
      end

      attribute 747013 "description"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string la descripcin del plan de pago"
      end

      operation 1139333 "define"
	class_operation preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna un objeto de definicin predeterminado al cual hay que agregarle los mapeos pertinentes.
@param iplan\\orm\\ORM $orm el manejador de objetos para el cual se registra la definicin
@return ORMDefinition la definicin default"
      end
    end

    class 553093 "Site"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Esta clase representa un sitio o, en otras palabras, un grupo de líneas asociadas. En algunas empresas se llaman grupos de afinidad y todas las líneas que pertenecen al grupo generalmente hablan gratis entre sí o con descuento.

@method Site setDescription()
@method string getDescription()
@method Site setLocation()
@method string getLocation()
@method Site setSubscription()
@method string getSubscription()
@method Site setGroup()
@method string getGroup()
@method Site setUsername()
@method string getUsername()
@method Site setPassword()
@method string getPassword()
@method Site setStatus()
@method boolean getStatus()
@method Site setCreated()
@method DateTime getCreated()
@method Site setModified()
@method DateTime getModified()
@method Site setDisabled()
@method DateTime getDisabled()
@method Site setServiceProvider()
@method ServiceProvider getServiceProvider()
@method Site setPayPlan()
@method PayPlan getPayPlan()
@method Site setClient()
@method Client getClient()
@method ORMCollection getLines()
@method Site addLine()
@method Site delLine()
@method TransferData getTransferData()
@method Site setTransferData()
@method Site addLineTransferData()
@method LineTransferData delLineTransferData()
@method ORMCollection getLineTransferData()

"
      classrelation 782341 // <generalisation>
	relation 778245 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 782341 // <generalisation>
	  b parent class_ref 141317 // ORMObject
      end

      classrelation 782597 // client (<aggregation>)
	relation_ref 778373 // <aggregation>
      end

      classrelation 782725 // payPlan (<unidirectional association>)
	relation 778501 --->
	  a role_name "payPlan" multiplicity "1" protected
	    comment "@var PayPlan el tipo de esquema de pago del sitio"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 782725 // payPlan (<unidirectional association>)
	  b parent class_ref 552965 // PayPlan
      end

      attribute 747269 "description"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string la descripcin del sitio"
      end

      attribute 747781 "status"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var boolean indica si el sitio est o no habilitado"
      end

      attribute 747909 "created"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime la fecha en que se cre el registro"
      end

      attribute 748165 "modified"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime la fecha de ltima modificacin"
      end

      attribute 748037 "disabled"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime la fecha en que el status fue puesto en FALSE"
      end

      attribute 748293 "location"
	protected explicit_type "int"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var int el identificador que se corresponde con el sitio en el sistema 10fold"
      end

      attribute 748421 "subscription"
	protected explicit_type "int"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var int es el cdigo de subscripcin del sitio en la plataforma 10fold"
      end

      attribute 748677 "group"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string el nombre del grupo de BroadSoft"
      end

      attribute 748805 "username"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string el nombre de usuario del grupo de BroadSoft"
      end

      attribute 748933 "password"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string la clave del usuario del grupo de BroadSoft"
      end

      classrelation 783877 // serviceProvider (<unidirectional association>)
	relation 779525 --->
	  a role_name "serviceProvider" multiplicity "1" protected
	    comment "@var ServiceProvider el tipo de sitio queda determinado por el service provider"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 783877 // serviceProvider (<unidirectional association>)
	  b parent class_ref 552581 // ServiceProvider
      end

      classrelation 784133 // lines (<aggregation>)
	relation 779653 o---
	  a role_name "lines" multiplicity "*" protected
	    comment "@var ORMCollection la lista de lneas del sitio"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 784133 // lines (<aggregation>)
	  b role_name "site" multiplicity "1" protected
	    comment "@var Site el sitio al que corresponde la lnea"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 784261 // site (<aggregation>)
      end

      classrelation 1928837 // transferData (<association>)
	relation 1868549 ----
	  a role_name "transferData" multiplicity "1" protected
	    comment "@var TransferData la información de cesiones anteriores"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 1928837 // transferData (<association>)
	  b role_name "site" multiplicity "1" protected
	    comment "@var Site el sitio que fue cedido"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 1928965 // site (<association>)
      end

      classrelation 1937157 // <association>
	relation_ref 1876101 // <association>
      end

      operation 1139461 "define"
	class_operation preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna un objeto de definicin predeterminado al cual hay que agregarle los mapeos pertinentes.
@param iplan\\orm\\ORM $orm el manejador de objetos para el cual se registra la definicin
@return ORMDefinition la definicin default"
      end

      operation 1235205 "save"
	preserve_cpp_body_indent cpp_virtual public explicit_return_type "bool"
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Verifica si el objeto fue modificado y lo guarda.
Este mtodo permite abstraer a las clases descendientes de la necesidad de determinar si el objeto fue alterado o no y oculta la complejidad subyacente a las clases descendientes.
@param ORM $orm opcionalmente se debe indicar la instancia del ORM que mantiene el objeto. Esto slo es posible si el objeto es nuevo o DETACHED. En el caso que ya estuviera bajo monitoreo de un ORM arrojar una excepcin.

Se pens en que se podra hacer el cambio de un ORM a otro, pero el ID debera limpiarse, con lo cual slo un INSERT se podra hacer sobre el destino y los objetos relacionados estaran an con otro ORM lo cual es complicado (manejo de objetos distribudos) por lo cual se deja a consideracin de futuras versiones, posiblemente en otra vida =)"
      end

      operation 1235333 "delete"
	preserve_cpp_body_indent public explicit_return_type "bool"
	nparams 0
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Borra fsicamente un objeto de la base. Al borrarse el objeto adems se ponen a null los campos de las entidades relacionadas que lo referenciaban y se eliminan los registros de las tablas relacin M:N

@return boolean un booleando TRUE si la operacin fue concretada con xito o FALSE sino."
      end
    end

    class 559621 "Line"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Representa una línea de telefonía
En esta clase de guarda información acerca de las características que manualmente habilitó el Reseller, el número de línea, su password SIP e información ligada a 10Fold.

@method Line setNumber()
@method Int getNumber()
@method Line setDescription()
@method Int getDescription()
@method Line setRegistered()
@method Int getRegistered()
@method Line setResellerId()
@method Int getResellerId()
@method Line setInterno()
@method string getInterno()
@method Line setPasswordSip()
@method string getPasswordSip()
@method Line setVpnVoiceEnabled()
@method boolean getVpnVoiceEnabled()
@method Line setOutlookIntegrationEnabled()
@method boolean getOutlookIntegrationEnabled()
@method Line setCnrfEnabled()
@method boolean getCnrfEnabled()
@method Line setWebDetailEnabled()
@method boolean getWebDetailEnabled()
@method Line setVoiceMailEnabled()
@method boolean getVoiceMailEnabled()
@method Line setCallCenter()
@method boolean getCallCenter()
@method Line setSubscription()
@method string getSubscription()
@method Line setSsi()
@method string getSsi()
@method Line setSite()
@method Site getSite()
@method Line setLineType()
@method LineType getLineType()
@method Line setRecepcionistType()
@method RecepcionistType getRecepcionistType()
@method Line setStatus()
@method boolean getStatus()
@method Line setCreated()
@method DateTime getCreated()
@method Line setModified()
@method DateTime getModified()
@method Line setDisabled()
@method DateTime getDisabled()
@method boolean getFaxEntranteSaliente()
@method Line setFaxEntranteSaliente()
@method boolean getUcOnePc()
@method Line setUcOnePc()
@method boolean getUcOneMobile()
@method Line setUcOneMobile()
@method boolean getUcOnePcMobile()
@method Line setUcOnePcMobile()
@method ORMCollection getDevices()
@method Line addDevice()
@method TransferDeviceData delDevice()
@method ORMCollection getScas()
@method Line addSca()
@method TransferSCAData delSca()
@method LineTransferData getLineTransferData()
@method Line setLineTransferData()
@method boolean getCallTransfer()
@method Line setCallTransfer()
@method boolean getSoftphoneCPC()
@method Line setSoftphoneCPC()
@method boolean getCallRecording()
@method Line setCallRecording()"
      attribute 749317 "number"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string el nmero de PSTN asignado a la lnea"
      end

      attribute 749445 "description"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string una descripcin de la lnea"
      end

      attribute 749957 "status"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var boolean indica si el sitio est o no habilitado"
      end

      attribute 749829 "modified"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime la fecha de ltima modificacin"
      end

      attribute 749701 "disabled"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime la fecha en que el status fue puesto en FALSE"
      end

      attribute 749573 "created"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime la fecha en que se cre el registro"
      end

      attribute 750085 "registered"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var boolean indica si la lnea se encuentra \"registrada\"??"
      end

      attribute 808069 "line"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string el nmero de la lnea. Dado que ya diammeter funciona de una forma X fue necesario mapear dos veces al campo LINEA, uno en el ID y otro ac."
      end

      classrelation 783237 // <generalisation>
	relation 779013 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 783237 // <generalisation>
	  b parent class_ref 141317 // ORMObject
      end

      classrelation 783621 // lineType (<unidirectional association>)
	relation 779269 --->
	  a role_name "lineType" multiplicity "1" protected
	    comment "@var LineType indica el tipo de lnea. Mapea a la columna T_LINEA_ID"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 783621 // lineType (<unidirectional association>)
	  b multiplicity "*" parent class_ref 559749 // LineType
      end

      attribute 750341 "interno"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string nmeros que determinan el interno, se usa string por compatibilidad con la tabla. Campo NRO_INTERNO"
      end

      attribute 750469 "passwordSip"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string la clave de la lnea para iniciar sesin mediante SIP"
      end

      attribute 750597 "vpnVoiceEnabled"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var boolean un flag que indica si la lnea tiene o no habilitado el \"resource\" de VPN_VOICE"
      end

      attribute 750725 "outlookIntegrationEnabled"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var boolean un flag que indica si la lnea tiene o no habilitado el \"resource\" de Integracin con Outlook"
      end

      attribute 750853 "cfnrEnabled"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var boolean un flag que indica si la lnea tiene o no habilitado el \"resource\" de Call Not Reach Forward"
      end

      attribute 751365 "webDetailEnabled"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var boolean un flag que indica si la lnea tiene o no habilitado el \"resource\" de Call Not Reach Forward"
      end

      attribute 809221 "userAgent"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string un campo ms de esos raros de la base de datos. Todo VARCHAR2(512) para que no falte. Que PTs."
      end

      attribute 751493 "voiceMailEnabled"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var boolean indica si la lnea cuenta con servicio de mensajera de voz."
      end

      attribute 750981 "callCenter"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var boolean indica si la lnea es utilizada como lnea de callcenter"
      end

      attribute 751237 "subscription"
	protected explicit_type "int"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var int es el cdigo de subscripcin del sitio en la plataforma 10fold"
      end

      attribute 751109 "ssi"
	protected explicit_type "int"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var int identificador de la ruta en SoftSwitch"
      end

      attribute 758149 "ip"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string la IP del dispositivo?"
      end

      attribute 758405 "mac"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string la direccin MAC del dispositivo?"
      end

      attribute 758277 "port"
	protected explicit_type "int"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var int el puerto que emplea el dispositivo?"
      end

      attribute 758021 "hardwareState"
	protected explicit_type "Int"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var int estado del hardware segun el autoprovisioning"
      end

      attribute 758533 "hardwareDate"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime alguna fecha relacionada al aprovisionamiento del dispositivo ?"
      end

      attribute 758661 "hardwareFile"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string el path o nombre de algn template para el autoprosioning del telfono?"
      end

      attribute 758789 "hardwareModel"
	protected explicit_type "Int"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var int algn cdigo de modelo del aparato telefnico usado por autoprovisioning?"
      end

      classrelation 783749 // recepcionist (<unidirectional association>)
	relation 779397 --->
	  a role_name "recepcionist" multiplicity "0..1" protected
	    comment "@var RecepcionistType el tipo de servicio de recepcionista que tiene la lnea. Puede ser nulo."
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 783749 // recepcionist (<unidirectional association>)
	  b multiplicity "*" parent class_ref 559877 // RecepcionistType
      end

      classrelation 784261 // site (<aggregation>)
	relation_ref 779653 // <aggregation>
      end

      classrelation 846725 // servicePack (<unidirectional association>)
	relation 841093 --->
	  a role_name "servicePack" multiplicity "1" protected
	    comment "@var ServicePack el paquete de servicios contratado para la lnea"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 846725 // servicePack (<unidirectional association>)
	  b multiplicity "*" parent class_ref 560005 // ServicePack
      end

      attribute 1276037 "bloqueoLDI"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var boolean un flag que indica si se aplica o no un bloqueo de llamadas de larga distancia internacional"
      end

      attribute 1276165 "bloqueoLDN"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var boolean un flag que indica si se aplica o no un bloqueo de llamadas de larga distancia nacional"
      end

      attribute 1276293 "bloqueoCPP"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var boolean un flag que indica si se aplica o no un bloqueo de llamadas a teléfonos móviles"
      end

      attribute 1276421 "bloqueoLOCAL"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var boolean un flag que indica si se aplica o no un bloqueo de llamadas"
      end

      attribute 1276549 "gos"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 1276677 "callNotify"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var boolean un flag que indica si la línea tiene habilitada la opción de notificación de llamadas"
      end

      attribute 1276805 "callForwarding"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var boolean un flag que indica si la línea tiene habilitada la opción de reenvio de llamadas"
      end

      attribute 1276933 "remoteOffice"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var boolean un flag que indica si la línea tiene habilitada la opción de reenvio de llamadas bajo la forma de oficina remota (ni idea cual es la diferencia con call forwarding)"
      end

      attribute 1277061 "sharedCallAppearance"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var boolean un flag que indica si la línea tiene habilitada la posibilidad de emplear la misma línea desde varios dispositivos"
      end

      attribute 1277189 "doNotDisturb"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var boolean un flag que indica si la línea tiene habilitada la posibilidad de ponerse en Don't Disturb"
      end

      attribute 1684229 "faxEntranteSaliente"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var boolean un flag que indica si la linea tiene fax"
      end

      attribute 1684485 "ucOneMobile"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var boolean un flag que indica si la linea call share appearance para un dispositivo movil"
      end

      attribute 1684357 "ucOnePc"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var boolean un flag que indica si la linea call share appearance para una PC"
      end

      attribute 1684613 "ucOnePcMobile"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var boolean un flag que indica si la linea call share appearance para una PC y un dispositivo movil"
      end

      attribute 2034309 "callTransfer"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var ${type} indica si tiene o no la característica de transferencia de llamada"
      end

      attribute 2054661 "softphoneCPC"
	protected explicit_type "boolean"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var ${type} el flag que indica si tiene acceso al softphone de Stretto/Bria"
      end

      attribute 2068101 "callRecording"
	protected explicit_type "boolean"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var ${type} el flag que indica si tiene habilitada la grabación de llamadas"
      end

      classrelation 1929349 // devices (<association>)
	relation 1868933 ----
	  a role_name "devices" multiplicity "*" protected
	    comment "@var ORMCollection la lista de dispositivos detectados previos a realizar la cesión de la línea"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 1929349 // devices (<association>)
	  b role_name "line" multiplicity "1" protected
	    comment "@var Line la línea a la que pertenece el dispositivo (previo a la transferencia)"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 1929477 // line (<association>)
      end

      classrelation 1929605 // scas (<association>)
	relation 1869061 ----
	  a role_name "scas" multiplicity "*" protected
	    comment "@var ORMCollection la lista de SCA detectadas antes de la cesión del servicio"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 1929605 // scas (<association>)
	  b role_name "line" multiplicity "1" protected
	    comment "@var Line la línea a la que pertenece el SCA"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 1929733 // line (<association>)
      end

      classrelation 1936901 // <association>
	relation_ref 1875973 // <association>
      end

      operation 1234949 "delete"
	preserve_cpp_body_indent public explicit_return_type "bool"
	nparams 0
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Borra fsicamente un objeto de la base. Al borrarse el objeto adems se ponen a null los campos de las entidades relacionadas que lo referenciaban y se eliminan los registros de las tablas relacin M:N

@return boolean un booleando TRUE si la operacin fue concretada con xito o FALSE sino."
      end

      operation 1139589 "define"
	class_operation preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna un objeto de definicin predeterminado al cual hay que agregarle los mapeos pertinentes.
@param iplan\\orm\\ORM $orm el manejador de objetos para el cual se registra la definicin
@return ORMDefinition la definicin default"
      end

      operation 1234821 "save"
	preserve_cpp_body_indent cpp_virtual public explicit_return_type "bool"
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Verifica si el objeto fue modificado y lo guarda.
Este mtodo permite abstraer a las clases descendientes de la necesidad de determinar si el objeto fue alterado o no y oculta la complejidad subyacente a las clases descendientes.
@param ORM $orm opcionalmente se debe indicar la instancia del ORM que mantiene el objeto. Esto slo es posible si el objeto es nuevo o DETACHED. En el caso que ya estuviera bajo monitoreo de un ORM arrojar una excepcin.

Se pens en que se podra hacer el cambio de un ORM a otro, pero el ID debera limpiarse, con lo cual slo un INSERT se podra hacer sobre el destino y los objetos relacionados estaran an con otro ORM lo cual es complicado (manejo de objetos distribudos) por lo cual se deja a consideracin de futuras versiones, posiblemente en otra vida =)"
      end
    end

    class 559749 "LineType"
      visibility package 
      cpp_decl "${comment}enum ${name} {
${items}
};
"
      java_decl "${comment}${@}${visibility}${final}${abstract}enum ${name}${implements} {
${items};
${members}}
"
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl "class ${name}:
${docstring}${members}
"
      idl_decl "${comment}enum ${name} {
${items}};
"
      explicit_switch_type ""
      
      comment "Describe un tipo de lnea. En particular por el momento es Abonado o Prepago.

@method LineType setDescription()
@method string getDescription()
"
      attribute 749061 "description"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string la descripcin del tipo de lnea"
      end

      classrelation 782981 // <generalisation>
	relation 778757 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 782981 // <generalisation>
	  b parent class_ref 141317 // ORMObject
      end

      operation 1139717 "define"
	class_operation preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna un objeto de definicin predeterminado al cual hay que agregarle los mapeos pertinentes.
@param iplan\\orm\\ORM $orm el manejador de objetos para el cual se registra la definicin
@return ORMDefinition la definicin default"
      end
    end

    class 559877 "RecepcionistType"
      visibility package 
      cpp_decl "${comment}enum ${name} {
${items}
};
"
      java_decl "${comment}${@}${visibility}${final}${abstract}enum ${name}${implements} {
${items};
${members}}
"
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl "class ${name}:
${docstring}${members}
"
      idl_decl "${comment}enum ${name} {
${items}};
"
      explicit_switch_type ""
      
      comment "Representa los tipos de recepcionista. Lo mismo que una clase podra haber sido un tipo enumerado pero se eligi esta representacin.

@method RecepcionistType setDescription()
@method string getDescription()
"
      attribute 749189 "description"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string la descripcin del tipo de recepcionista. Puede ser..."
      end

      classrelation 783109 // <generalisation>
	relation 778885 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 783109 // <generalisation>
	  b parent class_ref 141317 // ORMObject
      end

      attribute 809989 "attributeName"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string atributo que referencia un atributo de la clase de autoaprovisionamiento. Uso interno."
      end

      operation 1139845 "define"
	class_operation preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna un objeto de definicin predeterminado al cual hay que agregarle los mapeos pertinentes.
@param iplan\\orm\\ORM $orm el manejador de objetos para el cual se registra la definicin
@return ORMDefinition la definicin default"
      end
    end

    class 560005 "ServicePack"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      classrelation 804997 // <generalisation>
	relation 800005 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 804997 // <generalisation>
	  b parent class_ref 141317 // ORMObject
      end

      attribute 807941 "description"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string una descripcin del paquete de servicios"
      end

      classrelation 846981 // providers (<association>)
	relation_ref 841221 // <association>
      end

      attribute 809861 "attributeName"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string Un nombre de variable utilizado por los servicios de provisioning.

"
      end

      attribute 128006 "fieldName"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string Si este campo tiene un valor corresponde a un atributo de la clase"
      end

      operation 1175173 "define"
	class_operation preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna un objeto de definicin predeterminado al cual hay que agregarle los mapeos pertinentes.
@param iplan\\orm\\ORM $orm el manejador de objetos para el cual se registra la definicin
@return ORMDefinition la definicin default"
      end
    end

    class 566533 "WholesaleManager"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      associated_diagram classdiagram_ref 193413 // Wholesale Class Diagram
      classrelation 790917 // <generalisation>
	relation 786309 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 790917 // <generalisation>
	  b parent class_ref 416901 // AbstractManager
      end

      operation 1153669 "__listActions"
	preserve_cpp_body_indent cpp_virtual public explicit_return_type "array"
	nparams 0
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna una lista de mtodos que pueden ser invocados desde la aplicacin.

@return array Un arreglo (clave, valor) donde la clave es un string con el nombre ficticio de la operacin y el valor el nombre del mtodo que le corresponde."
      end

      operation 1153541 "listResellers"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Recupera la lista de Resellers (Proveedores y/o revendedores)

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable La pgina a mostrar encapsulada en un Renderable."
      end

      operation 1236229 "detailReseller"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Muestra el detalle del revedendor.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable La pgina a mostrar encapsulada en un Renderable."
      end

      operation 1161093 "saveReseller"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Guarda/Modifica un Reseller del sistema.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable la pgina a visualizar."
      end

      operation 1235077 "saveRealReseller"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Funcin de uso interno que se llama desde los formularios que REALMENTE tienen los datos del reseller, no del ComposedForm

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable la pgina a visualizar."
      end

      operation 1153797 "listClients"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Recupera la lista de Clientes

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable La pgina a mostrar encapsulada en un Renderable."
      end

      operation 1236357 "detailClient"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Muestra el detalle del Cliente.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable La pgina a mostrar encapsulada en un Renderable."
      end

      operation 1161221 "saveClient"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Guarda/Modifica un Client del sistema.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable la pgina a visualizar."
      end

      operation 1153925 "listSites"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Recupera la lista de Sitios

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable La pgina a mostrar encapsulada en un Renderable."
      end

      operation 1236613 "detailSite"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Muestra el detalle del Cliente.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable La pgina a mostrar encapsulada en un Renderable."
      end

      operation 1161349 "saveSite"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Guarda/Modifica un Site de un cliente (Client) del sistema.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable la pgina a visualizar."
      end

      operation 1154309 "listLines"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Recupera el listado de lneas de un cliente.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable La pgina a mostrar encapsulada en un Renderable."
      end

      operation 1236485 "detailLine"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Muestra el detalle del Cliente.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable La pgina a mostrar encapsulada en un Renderable."
      end

      operation 1161477 "saveLine"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Guarda/Modifica una lnea dentro de un Site de un cliente.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable la pgina a visualizar."
      end

      operation 1207045 "listLineTypes"
	preserve_cpp_body_indent public explicit_return_type ""
	nparams 2
	  param in name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Recupera el listado de tipos de lneas de telfono.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable La pgina a mostrar encapsulada en un Renderable."
      end

      operation 1207173 "saveLineType"
	preserve_cpp_body_indent public explicit_return_type ""
	nparams 2
	  param in name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Guarda/Modifica un tipo de lnea de telfono

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable la pgina a visualizar."
      end

      operation 1154565 "listCDRs"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Recupera el listado de lneas de un cliente.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable La pgina a mostrar encapsulada en un Renderable."
      end

      operation 1236741 "detailCDR"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Muestra el detalle del Cliente.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable La pgina a mostrar encapsulada en un Renderable."
      end

      operation 1209861 "listNumerationBlocks"
	preserve_cpp_body_indent public explicit_return_type ""
	nparams 2
	  param in name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Recupera el listado de bloques de numeracin.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable La pgina a mostrar encapsulada en un Renderable."
      end

      operation 1209989 "saveNumerationBlock"
	preserve_cpp_body_indent public explicit_return_type ""
	nparams 2
	  param in name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Guarda/Modifica un bloque de numeracin

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable la pgina a visualizar."
      end

      operation 1232389 "listResources"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Recupera el listado de lneas de un cliente.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable La pgina a mostrar encapsulada en un Renderable."
      end

      operation 1232517 "saveResource"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Guarda/Modifica un Site de un cliente (Client) del sistema.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable la pgina a visualizar."
      end

      operation 1232645 "listPayPlans"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Recupera el listado de lneas de un cliente.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable La pgina a mostrar encapsulada en un Renderable."
      end

      operation 1232773 "savePayPlan"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Guarda/Modifica un Site de un cliente (Client) del sistema.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable la pgina a visualizar."
      end

      operation 1232901 "listServicePacks"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Recupera el listado de lneas de un cliente.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable La pgina a mostrar encapsulada en un Renderable."
      end

      operation 1233029 "saveServicePack"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Guarda/Modifica un Site de un cliente (Client) del sistema.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable la pgina a visualizar."
      end

      operation 1233157 "listRecepcionistTypes"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Recupera el listado de lneas de un cliente.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable La pgina a mostrar encapsulada en un Renderable."
      end

      operation 1233285 "saveRecepcionistType"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Guarda/Modifica un Site de un cliente (Client) del sistema.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable la pgina a visualizar."
      end

      operation 1233413 "listServiceProviders"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Recupera el listado de lneas de un cliente.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable La pgina a mostrar encapsulada en un Renderable."
      end

      operation 1233541 "saveServiceProvider"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Guarda/Modifica un Site de un cliente (Client) del sistema.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable la pgina a visualizar."
      end

      operation 1308805 "listPrefixes"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Devuelve el listado de prefijos del revendedor.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable La pgina a mostrar encapsulada en un Renderable."
      end

      operation 1308933 "savePrefix"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Guarda/Modifica un Prefijo de un revendedor.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable la pgina a visualizar."
      end

      operation 1309061 "listPrefixGroups"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Recupera el listado de grupos de prefijos de un revendedor.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable La pgina a mostrar encapsulada en un Renderable."
      end

      operation 1309189 "savePrefixGroup"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Guarda/Modifica un Grupo de Prefijos de un revendedor (Reseller) del sistema.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable la pgina a visualizar."
      end

      operation 1308293 "listPricesLists"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Recupera el listado de lneas de un cliente.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable La pgina a mostrar encapsulada en un Renderable."
      end

      operation 1293829 "addPricesList"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Importa desde un archivo CSV los nuevos precios.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable La pgina a mostrar encapsulada en un Renderable."
      end

      operation 1323141 "savePricesList"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Importa desde un archivo CSV los nuevos precios.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable La pgina a mostrar encapsulada en un Renderable."
      end

      operation 1308037 "listPrices"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Recupera el listado de lneas de un cliente.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable La pgina a mostrar encapsulada en un Renderable."
      end

      operation 1308165 "savePrices"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Guarda/Modifica un Site de un cliente (Client) del sistema.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable la pgina a visualizar."
      end

      operation 1280005 "listRates"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Recupera el listado de lneas de un cliente.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable La pgina a mostrar encapsulada en un Renderable."
      end

      operation 1308549 "saveRate"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 2
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param in name "ajax" explicit_type "bool"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Guarda/Modifica un Site de un cliente (Client) del sistema.

@param ApplicationContext $context el contexto de la aplicacin
@param boolean $ajax indica si el llamado es para pgina completa o para ser devuelto en background

@return Renderable la pgina a visualizar."
      end

      operation 1161605 "isReseller"
	preserve_cpp_body_indent public explicit_return_type "bool"
	nparams 1
	  param inout name "user" type class_ref 396165 // User
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Indica si el usuario es un Reseller

@param User $user el usuario a verificar.

@return bool Devuelve TRUE si el usuario dado pertenece a un Reseller o FALSE sino."
      end

      operation 1161733 "isClient"
	preserve_cpp_body_indent public explicit_return_type "bool"
	nparams 1
	  param inout name "user" type class_ref 396165 // User
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Indica si el usuario es un Client

@param User $user el usuario a verificar.

@return bool Devuelve TRUE si el usuario dado pertenece a un Client o FALSE sino."
      end

      operation 1161861 "hasOwnedResellers"
	preserve_cpp_body_indent public explicit_return_type "bool"
	nparams 1
	  param inout name "reseller" type class_ref 552325 // Reseller
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Indica si el usuario es un Client

@param Reseller $reseller del cual se quiere verificar si tiene otros resellers dependientes de l.

@return bool Devuelve TRUE si el reseller dado tiene otros dependiente de l o FALSE sino."
      end

      operation 1161989 "getOwnedResellers"
	preserve_cpp_body_indent public explicit_return_type "array"
	nparams 3
	  param inout name "reseller" type class_ref 552325 // Reseller
	  param in name "columns" explicit_type "array"
	    defaultvalue "null"
	  param in name "includeOwner" explicit_type "bool"
	    defaultvalue "true"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}, ${p2}${v2}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Recupera una lista de los Resellers dependientes del reseller dado.

@param Reseller $reseller del cual se quiere conocer los resellers dependientes de l.
@param array $columns si en vez de obtener los objetos provider se quiere obtener una lista de columnas, se pasan como un arreglo de string. Soporta alias :)
@param boolean $includeOwner indica si se desea incluir al propio reseller del parmetro en el resultado.
@return array Devuelve una lista con las instancias de los resellers dependientes."
      end

      operation 1273093 "getCurrentReseller"
	preserve_cpp_body_indent public return_type class_ref 552325 // Reseller
	nparams 0
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Devuelve el revendedor al que pertenece la sesin actual.
Debe entenderse que el REVENDEDOR es el dueo del sitio, pero que no implica que el usuario logueado sea un revendedor.

@return Reseller El reseller vinculado a la sesin en curso o FALSE si no hay ninguno (caso que NUNCA debera darse)."
      end

      operation 1273221 "getCurrentClient"
	preserve_cpp_body_indent public return_type class_ref 552837 // Client
	nparams 0
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Devuelve el cliente que inici la sesin.

@return Client El cliente que inici la sesin o FALSE si la sesin pertenece a un revendedor (Reseller)."
      end

      operation 1330693 "getOwnedResellersIds"
	preserve_cpp_body_indent public explicit_return_type "array"
	nparams 1
	  param in name "includeOwner" explicit_type "bool"
	    defaultvalue "true"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Recupera una lista de los ids de los resellers vinculados.
@param boolean $includeOwner indica si se incluye o no el id del reseller actual.

@return array La lista de los resellers vinculados."
      end

      classrelation 824069 // <dependency>
	relation 818565 -_->
	  a default
	    php "${type}"
	    classrelation_ref 824069 // <dependency>
	  b parent class_ref 594565 // ResellerForm
      end

      classrelation 824197 // <dependency>
	relation 818693 -_->
	  a default
	    php "${type}"
	    classrelation_ref 824197 // <dependency>
	  b parent class_ref 594693 // ResourceForm
      end

      classrelation 824325 // <dependency>
	relation 818821 -_->
	  a default
	    php "${type}"
	    classrelation_ref 824325 // <dependency>
	  b parent class_ref 594821 // ServiceProviderForm
      end

      classrelation 824581 // <dependency>
	relation 819077 -_->
	  a default
	    php "${type}"
	    classrelation_ref 824581 // <dependency>
	  b parent class_ref 595205 // PayPlanForm
      end

      classrelation 824709 // <dependency>
	relation 819205 -_->
	  a default
	    php "${type}"
	    classrelation_ref 824709 // <dependency>
	  b parent class_ref 595077 // ClientForm
      end

      classrelation 824837 // <dependency>
	relation 819333 -_->
	  a default
	    php "${type}"
	    classrelation_ref 824837 // <dependency>
	  b parent class_ref 595333 // SiteForm
      end

      classrelation 824965 // <dependency>
	relation 819461 -_->
	  a default
	    php "${type}"
	    classrelation_ref 824965 // <dependency>
	  b parent class_ref 595461 // LineForm
      end

      classrelation 825093 // <dependency>
	relation 819589 -_->
	  a default
	    php "${type}"
	    classrelation_ref 825093 // <dependency>
	  b parent class_ref 595589 // LineTypeForm
      end

      classrelation 825221 // <dependency>
	relation 819717 -_->
	  a default
	    php "${type}"
	    classrelation_ref 825221 // <dependency>
	  b parent class_ref 595717 // RecepcionistTypeForm
      end

      classrelation 825349 // <dependency>
	relation 819845 -_->
	  a default
	    php "${type}"
	    classrelation_ref 825349 // <dependency>
	  b parent class_ref 595845 // ServicePackForm
      end

      classrelation 839173 // <dependency>
	relation 833541 -_->
	  a default
	    php "${type}"
	    classrelation_ref 839173 // <dependency>
	  b parent class_ref 573061 // CDR
      end

      classrelation 839301 // <dependency>
	relation 833669 -_->
	  a default
	    php "${type}"
	    classrelation_ref 839301 // <dependency>
	  b parent class_ref 552709 // NumerationBlock
      end

      classrelation 846085 // <dependency>
	relation 840453 -_->
	  a default
	    php "${type}"
	    classrelation_ref 846085 // <dependency>
	  b parent class_ref 594949 // NumerationBlockForm
      end

      classrelation 882821 // <dependency>
	relation 876293 -_->
	  a default
	    php "${type}"
	    classrelation_ref 882821 // <dependency>
	  b parent class_ref 579717 // Price
      end

      classrelation 882949 // <dependency>
	relation 876421 -_->
	  a default
	    php "${type}"
	    classrelation_ref 882949 // <dependency>
	  b parent class_ref 580101 // PrefixGroup
      end

      classrelation 883077 // <dependency>
	relation 876549 -_->
	  a default
	    php "${type}"
	    classrelation_ref 883077 // <dependency>
	  b parent class_ref 579973 // Prefix
      end

      classrelation 896901 // <dependency>
	relation 890117 -_->
	  a default
	    php "${type}"
	    classrelation_ref 896901 // <dependency>
	  b parent class_ref 642565 // PricesList
      end

      classrelation 897029 // <dependency>
	relation 890245 -_->
	  a default
	    php "${type}"
	    classrelation_ref 897029 // <dependency>
	  b parent class_ref 649093 // PricesListForm
      end

      operation 1449733 "newLoginUnificado"
	preserve_cpp_body_indent public return_type class_ref 410117 // Renderable
	nparams 3
	  param inout name "context" type class_ref 417029 // ApplicationContext
	  param inout name "user" type class_ref 396165 // User
	  param in name "extra" explicit_type "mixed"
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}, ${p1}${v1}, ${p2}${v2}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Notifica al facade que se ha logeado un usuario NUEVO mediante \"Login Unificado\".

@param ApplicationContext $context el contexto de la aplicación
@param boolean $ajax indica si el llamado es para página completa o para ser devuelto en background
@param User $user el usuario nuevo que se logueó
@param mixed $extra por el momento se pasa la respuesta del llamado a CLL_Authenticate.

@return boolean un booleando que es TRUE si se desea conservar el usuario o FALSE si el mismo es irrelevante o no debe tener permisos para el Facade."
      end

      operation 1450245 "registerInfo"
	preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "context" type class_ref 417029 // ApplicationContext
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Configura informacin general para el uso en los templates.

@param ApplicationContext $context el contexto de la aplicacin.

@return void "
      end
    end

    class 573061 "CDR"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      attribute 771589 "created"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime la fecha en que se cre el registro"
      end

      attribute 765317 "prefix"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string"
      end

      attribute 765445 "numberA"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string el nmero interno origen de la llamada"
      end

      attribute 768133 "ipA"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string la IP desde donde ingres la solicitud"
      end

      attribute 765573 "numberB"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string el nmero interno destino de la llamada"
      end

      attribute 768261 "ipB"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string la IP a donde se redireccion el llamado?"
      end

      attribute 765701 "start"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime timestamp de inicio del pedido de la llamada"
      end

      attribute 765829 "ringing"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime momento en el que el telfono empez a sonar en el destinatario"
      end

      attribute 765957 "connect"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime momento en que desde el destino atendieron."
      end

      attribute 766085 "disconnect"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime el instante en que se termin de cursar el llamado."
      end

      attribute 766213 "duration"
	protected explicit_type "int"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var int @la duracin en segundos del llamado"
      end

      classrelation 797957 // <generalisation>
	relation 793221 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 797957 // <generalisation>
	  b parent class_ref 141317 // ORMObject
      end

      attribute 767621 "price"
	protected explicit_type "float"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var float el valor por unidad de fraccionamiento que se le aplica al CDR"
      end

      attribute 767493 "currencyCode"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string el cdigo de la moneda. Se corresponde con Currency::code"
      end

      attribute 767749 "reseller"
	protected type class_ref 552325 // Reseller
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var Reseller el licenciatario al que pertenece el site que gener la llamada."
      end

      attribute 768005 "site"
	protected type class_ref 553093 // Site
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var Site el sitio al que pertenece la llamada"
      end

      attribute 767877 "client"
	protected type class_ref 552837 // Client
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var Client el cliente que gener la llamada"
      end

      attribute 768389 "totalPrice"
	protected explicit_type "float"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var float el costo de la llamada. Corresponde (aprox) a price*duration/fractioningTime o algo as"
      end

      attribute 768517 "fractionationDesc"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string la descripcin del tipo de fraccionamiento. Se corresponde con FractionationType::description"
      end

      attribute 768645 "quotation"
	protected explicit_type "float"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var float la cotizacin de la moneda en ese instante. Se corresponde con Currency::quotation de ese momento."
      end

      attribute 768901 "phoneNumber"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string el nmero de telfono que se marc en origen a su mxima extensin +54011... Es el field \"USER_NUMBER\""
      end

      attribute 770821 "lineNumber"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string el nmero que se marc pero como se marc (supongo). Mapea el campo LINEA"
      end

      attribute 769029 "direction"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string indica si la llamada es entrante o saliente"
      end

      attribute 769157 "timeZone"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string una descripcin de la zona GMT del origen de llamada."
      end

      attribute 769285 "terminationCause"
	protected explicit_type "Int"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var int un flag codificado con la causa del corte de la comunicacin"
      end

      attribute 769413 "networkType"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string una identificacin de BroadSoft del tipo de red sobre el que se curs la llamada"
      end

      attribute 769669 "networkCallType"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string la codificacin de BroadSoft para el tipo de llamada"
      end

      attribute 769797 "networkTranslatedNumber"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string otra vez el nmero telefnico? (este es interno?)"
      end

      attribute 769541 "callCategory"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string un tipo de codificacin de categora de llamada de BroadSoft"
      end

      attribute 769925 "releasingParty"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string algn flag de BroadSoft. Generalmente \"local\" o \"remote\""
      end

      attribute 770053 "codec"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string una descripcin del codec de audio empleado en la llamada"
      end

      attribute 770181 "accessDeviceAddress"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string la IP de un dispositivo que intervino en la comunicacin."
      end

      attribute 770309 "redirectingReason"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string es un valor numrico que por alguna razn se pone como string. Generalmente 1 o 0 :S"
      end

      attribute 770437 "chargeIndicator"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string un caracter 'y' para indicar que la llamada tiene cargo y 'n' sino."
      end

      attribute 770565 "otherPartyName"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string otra cosa al pedo, todo NULL"
      end

      attribute 770693 "relatedCallidReason"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string otra descripcin de BroadSoft que en maqueta es TODO NULL"
      end

      attribute 768773 "serviceProviderName"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string el nombre de BroadSoft del Service Provider. Se corresponde con ServiceProvider::identifier"
      end

      attribute 770949 "groupName"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string un nombre de grupo de BroadSoft de la forma \"70839-DAEWOO INTERNATIONAL COR\". Sera el Site::group."
      end

      attribute 771077 "free"
	protected explicit_type "int"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var int un flag que en caso de ser 1 indica que la llamada es gratuita por alguna regla interna, es distinto del flag de CHARGE_INDIC que slo mira si la llamada es en el mismo grupo."
      end

      attribute 771205 "asCallType"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string indica como se tom la llamada, por ejemplo para llamadas dentro del grupo se toma como \"GROUP\". Valores posibles: Internal, Network SRL??, Error, Network y Group"
      end

      attribute 771333 "errorId"
	protected explicit_type "int"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var int un cdigo de error de BroadSoft"
      end

      attribute 771461 "cdrState"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string una constante que segn me cont Pablo Zurzolo la inserta l en base a dos mtodos de entrada y podran ocasionalmente darse en paralelo. Un mtodo tiene estados iniciados en ACR y el otro en CCR. Los estados finales indican que el CDR ya termin, es decir, se consolid y cualquier otro estado es en curso o que hubo un corte en la plataforma y ese CDR no se cobra al cliente."
      end

      operation 1168645 "define"
	class_operation preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna un objeto de definicin predeterminado al cual hay que agregarle los mapeos pertinentes.
@param iplan\\orm\\ORM $orm el manejador de objetos para el cual se registra la definicin
@return ORMDefinition la definicin default"
      end
    end

    class 689413 "Product"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      attribute 900869 "description"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string La descripcin del producto iPlan"
      end

      classrelation 938757 // <generalisation>
	relation 931845 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 938757 // <generalisation>
	  b parent class_ref 141317 // ORMObject
      end

      operation 1379461 "define"
	class_operation preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna un objeto de definicin predeterminado al cual hay que agregarle los mapeos pertinentes.
@param iplan\\orm\\ORM $orm el manejador de objetos para el cual se registra la definicin
@return ORMDefinition la definicin default"
      end
    end

    classdiagram 199941 "Wholesale Class Diagram Tarifas"
      draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default
      size A4-Landscape
    end

    class 573189 "Currency"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      attribute 767237 "created"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime la fecha en que se cre el registro"
      end

      attribute 767109 "status"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var boolean indica si el sitio est o no habilitado"
      end

      attribute 766981 "modified"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime la fecha de ltima modificacin"
      end

      attribute 766853 "disabled"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime la fecha en que el status fue puesto en FALSE"
      end

      attribute 766469 "description"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string una descripcin de la moneda."
      end

      attribute 766597 "quotation"
	protected explicit_type "float"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var float la cotizacin de la moneda convertida a Pesos"
      end

      attribute 766725 "quotationDate"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime fecha de cotizacin"
      end

      attribute 767365 "code"
	protected explicit_type "int"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var int un cdigo numrico de la moneda. Posiblemente para usar alguna cotizacin automtica."
      end

      classrelation 797829 // <generalisation>
	relation 793093 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 797829 // <generalisation>
	  b parent class_ref 141317 // ORMObject
      end

      operation 1168517 "define"
	class_operation preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna un objeto de definicin predeterminado al cual hay que agregarle los mapeos pertinentes.
@param iplan\\orm\\ORM $orm el manejador de objetos para el cual se registra la definicin
@return ORMDefinition la definicin default"
      end
    end

    class 579845 "FractionationType"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      classrelation 805253 // <generalisation>
	relation 800261 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 805253 // <generalisation>
	  b parent class_ref 141317 // ORMObject
      end

      attribute 786181 "description"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string una descripcin del tipo de fraccionamiento."
      end

      operation 1175429 "define"
	class_operation preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna un objeto de definicin predeterminado al cual hay que agregarle los mapeos pertinentes.
@param iplan\\orm\\ORM $orm el manejador de objetos para el cual se registra la definicin
@return ORMDefinition la definicin default"
      end
    end

    class 579973 "Prefix"
      abstract visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Un prefijo representa una caracterstica telefnica de zona. Son los primeros dgitos del nmero.
Al igual que en el caso de Grupo de Prefijos, el modelo de datos entre prefijos de entrada y salida es redundante y totalmente disociado.

@method string getDescription()
@methos PrefixGroup setDescription()
@method PrefixGroup setStatus()
@method boolean getStatus()
@method PrefixGroup setCreated()
@method DateTime getCreated()
@method PrefixGroup setModified()
@method DateTime getModified()
@method PrefixGroup setDisabled()
@method DateTime getDisabled()
@method Reseller getReseller()
@method PrefixGroup setReseller()

"
      attribute 778373 "description"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string una descripcin del prefijo. Generalmente el nombre de la localidad."
      end

      attribute 779013 "created"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime la fecha en que se cre el registro"
      end

      attribute 778885 "status"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var boolean indica si el sitio est o no habilitado"
      end

      attribute 778757 "modified"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime la fecha de ltima modificacin"
      end

      attribute 778629 "disabled"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime la fecha en que el status fue puesto en FALSE"
      end

      classrelation 813829 // mode (<directional composition>)
	relation 808453 *-->
	  a role_name "mode" multiplicity "1" protected
	    comment "@var Mode la modalidad del prefijo"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 813829 // mode (<directional composition>)
	  b parent class_ref 580869 // Mode
      end

      classrelation 876165 // prefixType (<directional composition>)
	relation 869765 *-->
	  a role_name "prefixType" multiplicity "1" protected
	    comment "@var PrefixType el tipo de prefijo, generalmente LDI o LDN"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 876165 // prefixType (<directional composition>)
	  b parent class_ref 629509 // PrefixType
      end

      classrelation 875909 // reseller (<unidirectional association>)
	relation 869509 --->
	  a role_name "reseller" multiplicity "1" protected
	    comment "@var Reseller el revendedor al que pertenece el prefijo."
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 875909 // reseller (<unidirectional association>)
	  b parent class_ref 552325 // Reseller
      end

      classrelation 805637 // <generalisation>
	relation 800645 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 805637 // <generalisation>
	  b parent class_ref 141317 // ORMObject
      end

      operation 1175557 "define"
	class_operation preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna un objeto de definicin predeterminado al cual hay que agregarle los mapeos pertinentes.
@param iplan\\orm\\ORM $orm el manejador de objetos para el cual se registra la definicin
@return ORMDefinition la definicin default"
      end
    end

    class 580101 "PrefixGroup"
      abstract visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Un grupo de prefijo es una entidad que agrupa varios prefijos. En el sistema no compartan datos en comn por lo cual por ms que ac haya herencia no guardan relacin algun los grupos de IN y OUT.

@method string getDescription()
@methos PrefixGroup setDescription()
@method PrefixGroup setStatus()
@method boolean getStatus()
@method PrefixGroup setCreated()
@method DateTime getCreated()
@method PrefixGroup setModified()
@method DateTime getModified()
@method PrefixGroup setDisabled()
@method DateTime getDisabled()
@method Reseller getReseller()
@method PrefixGroup setReseller()

"
      attribute 778501 "description"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string una descripcin del grupo de prefijos"
      end

      attribute 779525 "created"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime la fecha en que se cre el registro"
      end

      attribute 779397 "status"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var boolean indica si el sitio est o no habilitado"
      end

      attribute 779269 "modified"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime la fecha de ltima modificacin"
      end

      attribute 779141 "disabled"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime la fecha en que el status fue puesto en FALSE"
      end

      classrelation 805509 // <generalisation>
	relation 800517 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 805509 // <generalisation>
	  b parent class_ref 141317 // ORMObject
      end

      classrelation 806149 // reseller (<directional composition>)
	relation 801029 *-->
	  a role_name "reseller" multiplicity "1" private
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 806149 // reseller (<directional composition>)
	  b parent class_ref 552325 // Reseller
      end

      operation 1175813 "define"
	class_operation preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna un objeto de definicin predeterminado al cual hay que agregarle los mapeos pertinentes.
@param iplan\\orm\\ORM $orm el manejador de objetos para el cual se registra la definicin
@return ORMDefinition la definicin default"
      end
    end

    class 580229 "Rate"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Es una tarifa. Se diferencia del precio (Price) en que la tarifa es lo que se le cobra a un sitio en particular. Es decir podra haber varios precios para un grupo de prefijo de entrada y uno de salida y esta entidad es la que relaciona el sitio con el precio puntual a cobrar en ese caso para un sitio."
      attribute 787205 "status"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var boolean indica si el sitio est o no habilitado"
      end

      attribute 787077 "created"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime la fecha en que se cre el registro"
      end

      attribute 786949 "modified"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime la fecha de ltima modificacin"
      end

      attribute 786821 "disabled"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime la fecha en que el status fue puesto en FALSE"
      end

      classrelation 805381 // <generalisation>
	relation 800389 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 805381 // <generalisation>
	  b parent class_ref 141317 // ORMObject
      end

      classrelation 814341 // price (<aggregation>)
	relation 808965 o---
	  a role_name "price" multiplicity "1" protected
	    comment "@var price el precio definido por el reseller al que aplica la tarifa"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 814341 // price (<aggregation>)
	  b role_name "rates" multiplicity "*" protected
	    comment "@var ORMCollection las tarifas a las cuales se aplica el precio actual"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 882693 // rates (<aggregation>)
      end

      classrelation 814469 // site (<directional composition>)
	relation 809093 *-->
	  a role_name "site" multiplicity "1" protected
	    comment "@var Site el sitio para el que rige esta tarifa."
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 814469 // site (<directional composition>)
	  b parent class_ref 553093 // Site
      end

      operation 1182853 "define"
	class_operation preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna un objeto de definicin predeterminado al cual hay que agregarle los mapeos pertinentes.
@param iplan\\orm\\ORM $orm el manejador de objetos para el cual se registra la definicin
@return ORMDefinition la definicin default"
      end
    end

    class 580357 "PrefixGroupIn"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Una especializacin del Grupo de Prefijos para consignar slo los grupos de entrada.

@method ORMCollection getPrefixes()
@method PrefixGroupIn setPrefixes()
@method PrefixGroupIn addPrefix()
@method PrefixGroupIn delPrefix()"
      classrelation 806277 // <generalisation>
	relation 801157 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 806277 // <generalisation>
	  b parent class_ref 580101 // PrefixGroup
      end

      classrelation 807173 // <composition>
	relation_ref 801797 // <composition>
      end

      operation 1175685 "define"
	class_operation preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna un objeto de definicin predeterminado al cual hay que agregarle los mapeos pertinentes.
@param iplan\\orm\\ORM $orm el manejador de objetos para el cual se registra la definicin
@return ORMDefinition la definicin default"
      end
    end

    class 580485 "PrefixGroupOut"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Una especializacin del Grupo de Prefijos para consignar slo los grupos de salida.

@method ORMCollection getPrefixes()
@method PrefixGroupOut setPrefixes()
@method PrefixGroupOut addPrefix()
@method PrefixGroupOut delPrefix()"
      classrelation 806405 // <generalisation>
	relation 801285 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 806405 // <generalisation>
	  b parent class_ref 580101 // PrefixGroup
      end

      classrelation 806917 // <composition>
	relation_ref 801669 // <composition>
      end

      operation 1175941 "define"
	class_operation preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna un objeto de definicin predeterminado al cual hay que agregarle los mapeos pertinentes.
@param iplan\\orm\\ORM $orm el manejador de objetos para el cual se registra la definicin
@return ORMDefinition la definicin default"
      end
    end

    class 580613 "PrefixIn"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "La especializacin del prefijo saliente.

@method PrefixGroupIn getPrefixGroup()
@method PrefixIn setPrefixGroup()"
      classrelation 806533 // <generalisation>
	relation 801413 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 806533 // <generalisation>
	  b parent class_ref 579973 // Prefix
      end

      classrelation 807045 // prefixGroup (<composition>)
	relation 801797 *---
	  a role_name "prefixGroup" multiplicity "1" protected
	    comment "@var PrefixGroupIn el grupo de prefijos de entrada al que pertenece el prefijo"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 807045 // prefixGroup (<composition>)
	  b role_name "prefixes" multiplicity "*" protected
	    comment "@var ORMCollection la lista de prefijos de entrada que conforman el grupo"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 807173 // <composition>
      end

      operation 1176069 "define"
	class_operation preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna un objeto de definicin predeterminado al cual hay que agregarle los mapeos pertinentes.
@param iplan\\orm\\ORM $orm el manejador de objetos para el cual se registra la definicin
@return ORMDefinition la definicin default"
      end
    end

    class 580741 "PrefixOut"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "La especializacin del prefijo saliente.

@method PrefixGroupOut getPrefixGroup()
@method PrefixOut setPrefixGroup()"
      classrelation 806661 // <generalisation>
	relation 801541 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 806661 // <generalisation>
	  b parent class_ref 579973 // Prefix
      end

      classrelation 806789 // prefixGroup (<composition>)
	relation 801669 *---
	  a role_name "prefixGroup" multiplicity "1" protected
	    comment "@var PrefixGroupOut el grupo de prefijos de salida al que pertene el prefijo."
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 806789 // prefixGroup (<composition>)
	  b role_name "prefixes" multiplicity "*" protected
	    comment "@var ORMCollection la lista de prefijos de salida del grupo"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 806917 // <composition>
      end

      operation 1176197 "define"
	class_operation preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna un objeto de definicin predeterminado al cual hay que agregarle los mapeos pertinentes.
@param iplan\\orm\\ORM $orm el manejador de objetos para el cual se registra la definicin
@return ORMDefinition la definicin default"
      end
    end

    class 579717 "Price"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Representa un precio del sistema.

@method Price setDescription()
@method string getDescription()
@method Price setValue()
@method float getValue()
@method Price setStatus()
@method boolean getStatus()
@method Price setCreated()
@method DateTime getCreated()
@method Price setModified()
@method DateTime getModified()
@method Price setDisabled()
@method DateTime getDisabled()
@method Price setPricesList()
@method PricesList getPricesList()
"
      attribute 778245 "description"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string una descripcin de la moneda"
      end

      attribute 778117 "value"
	protected explicit_type "float"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var float el monto del precio"
      end

      attribute 786693 "status"
	protected explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var boolean indica si el sitio est o no habilitado"
      end

      attribute 786565 "created"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime la fecha en que se cre el registro"
      end

      attribute 786437 "modified"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime la fecha de ltima modificacin"
      end

      attribute 786309 "disabled"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime la fecha en que el status fue puesto en FALSE"
      end

      classrelation 804741 // currency (<directional composition>)
	relation 799877 *-->
	  a role_name "currency" multiplicity "1" protected
	    comment "@var Currency el tipo de moneda"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 804741 // currency (<directional composition>)
	  b parent class_ref 573189 // Currency
      end

      classrelation 805125 // <generalisation>
	relation 800133 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 805125 // <generalisation>
	  b parent class_ref 141317 // ORMObject
      end

      classrelation 805765 // reseller (<directional composition>)
	relation 800773 *-->
	  a role_name "reseller" multiplicity "1" protected
	    comment "@var Reseller el revendedor al que pertenece el precio"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 805765 // reseller (<directional composition>)
	  b parent class_ref 552325 // Reseller
      end

      classrelation 813957 // groupOut (<directional composition>)
	relation 808581 *-->
	  a role_name "groupOut" protected
	    comment "@var PrefixGroupOut el grupo de prefijo al que pertenece el nmero destino"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 813957 // groupOut (<directional composition>)
	  b parent class_ref 580485 // PrefixGroupOut
      end

      classrelation 814085 // groupIn (<directional composition>)
	relation 808709 *-->
	  a role_name "groupIn" multiplicity "1" protected
	    comment "@var PrefixGroupIn el grupo al que pertenece la caracterstica que reliza la llamada"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 814085 // groupIn (<directional composition>)
	  b parent class_ref 580357 // PrefixGroupIn
      end

      classrelation 814213 // fractionationType (<directional composition>)
	relation 808837 *-->
	  a role_name "fractionationType" multiplicity "1" protected
	    comment "@var FractionationType el tipo de fraccionamiento al que aplica el precio"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 814213 // fractionationType (<directional composition>)
	  b parent class_ref 579845 // FractionationType
      end

      classrelation 882693 // rates (<aggregation>)
	relation_ref 808965 // <aggregation>
      end

      classrelation 889733 // pricesList (<association>)
	relation 883205 ----
	  a role_name "pricesList" multiplicity "1" protected
	    comment "@var PriceList la lista de precios a la que pertenece."
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 889733 // pricesList (<association>)
	  b role_name "prices" multiplicity "*" protected
	    comment "@var ORMCollection la coleccin de precios que se nuclean bajo esta lista."
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 889989 // prices (<association>)
      end

      operation 1175301 "define"
	class_operation preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna un objeto de definicin predeterminado al cual hay que agregarle los mapeos pertinentes.
@param iplan\\orm\\ORM $orm el manejador de objetos para el cual se registra la definicin
@return ORMDefinition la definicin default"
      end
    end

    class 580869 "Mode"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Describe el tipo de llamada:
MPP = Cobro Revertido
SBT = Fijo
CPP = Celular"
      attribute 779653 "description"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string La descripcin del tipo de modalidad"
      end

      operation 1176325 "define"
	class_operation preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna un objeto de definicin predeterminado al cual hay que agregarle los mapeos pertinentes.
@param iplan\\orm\\ORM $orm el manejador de objetos para el cual se registra la definicin
@return ORMDefinition la definicin default"
      end

      classrelation 813701 // <generalisation>
	relation 808325 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 813701 // <generalisation>
	  b parent class_ref 141317 // ORMObject
      end
    end

    class 629509 "PrefixType"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      attribute 851845 "description"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string la descripcin del tipo de prefijo"
      end

      classrelation 876037 // <generalisation>
	relation 869637 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 876037 // <generalisation>
	  b parent class_ref 141317 // ORMObject
      end

      operation 1273477 "define"
	class_operation preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna un objeto de definicin predeterminado al cual hay que agregarle los mapeos pertinentes.
@param iplan\\orm\\ORM $orm el manejador de objetos para el cual se registra la definicin
@return ORMDefinition la definicin default"
      end
    end

    class 642565 "PricesList"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Una lista de precios del sistema

@method DateTime getUploaded()
@method PricesList setUploaded()
@method PricesList setDescription()
@mehtod string getDescription()
@method PricesList setFile()
@method string getFile()
@method PricesList setReseller()
@method Reseller getReseller()
@method PricesList addPrice()
@method PricesList setPrices()
@method ORMCollection getPrices()"
      classrelation 889861 // <generalisation>
	relation 883333 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 889861 // <generalisation>
	  b parent class_ref 141317 // ORMObject
      end

      attribute 858373 "uploaded"
	protected explicit_type "DateTime"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var DateTime la fecha de subida"
      end

      attribute 858501 "description"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string una breve descripcin textual"
      end

      attribute 858629 "file"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var string el nombre del archivo que se subi"
      end

      classrelation 889989 // prices (<association>)
	relation_ref 883205 // <association>
      end

      classrelation 896645 // reseller (<association>)
	relation_ref 889861 // <association>
      end

      operation 1315717 "define"
	class_operation preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna un objeto de definicin predeterminado al cual hay que agregarle los mapeos pertinentes.
@param iplan\\orm\\ORM $orm el manejador de objetos para el cual se registra la definicin
@return ORMDefinition la definicin default"
      end
    end

    class 1380229 "TransferData"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Entidad creada para guardar los datos de cesión total de centrales, se hizo de esta manera porque la carga de \"stored procedures\" es mucha como para incorporar los campos a la tabla de Site directamente. (IPlan Rulz?)

@method TransferData setSite()
@method TransferData setClient()
@method Site getSite()
@method Client getClient()


"
      classrelation 1929221 // <generalisation>
	relation 1868805 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 1929221 // <generalisation>
	  b parent class_ref 141317 // ORMObject
      end

      classrelation 1928965 // site (<association>)
	relation_ref 1868549 // <association>
      end

      classrelation 1929093 // client (<unidirectional association>)
	relation 1868677 --->
	  a role_name "client" protected
	    comment "@var Client el cliente que era dueño de la central antes de la cesión total"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 1929093 // client (<unidirectional association>)
	  b parent class_ref 552837 // Client
      end

      operation 2700805 "define"
	class_operation preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna un objeto de definicin predeterminado al cual hay que agregarle los mapeos pertinentes.
@param iplan\\orm\\ORM $orm el manejador de objetos para el cual se registra la definicin
@return ORMDefinition la definicin default"
      end
    end

    class 1380357 "TransferDeviceData"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Cada dispositivo detectado antes de la cesión de la línea

@method string getLevel()
@method TransferDeviceData setLevel()
@method string getName()
@method TransferDeviceData setName()
@method string getType()
@method TransferDeviceData setType()
@method Line getLine()
@method TransferDeviceData setLine()
@method ORMCollection getScas()
@method TransferDeviceData addSca()
@method TransferSCAData delSca()

"
      classrelation 1929861 // <generalisation>
	relation 1869189 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 1929861 // <generalisation>
	  b parent class_ref 141317 // ORMObject
      end

      classrelation 1929477 // line (<association>)
	relation_ref 1868933 // <association>
      end

      attribute 2020741 "level"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var ${type} el device level =)"
      end

      attribute 2020869 "name"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var ${type} el nombre ficticio del dispositivo"
      end

      attribute 2020997 "type"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var ${type} el tipo que identifica las capacidades del dispositivo"
      end

      classrelation 1930245 // <association>
	relation_ref 1869445 // <association>
      end

      operation 2700933 "define"
	class_operation preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna un objeto de definicin predeterminado al cual hay que agregarle los mapeos pertinentes.
@param iplan\\orm\\ORM $orm el manejador de objetos para el cual se registra la definicin
@return ORMDefinition la definicin default"
      end
    end

    class 1380485 "TransferSCAData"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Representa un SCA detectado antes de un proceso de cesión de la línea

@method string getLinePort()
@method TransferSCAData setLinePort()
@method TransferDeviceData getDevice()
@method TransferSCAData setDevice()
@method Line getLine()
@method TransferSCAData setLine()

"
      classrelation 1929989 // <generalisation>
	relation 1869317 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 1929989 // <generalisation>
	  b parent class_ref 141317 // ORMObject
      end

      classrelation 1929733 // line (<association>)
	relation_ref 1869061 // <association>
      end

      classrelation 1930117 // device (<association>)
	relation 1869445 ----
	  a role_name "device" multiplicity "1" protected
	    comment "@var ${type} el dispositivo donde está configurado el SCA"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 1930117 // device (<association>)
	  b role_name "scas" multiplicity "*" protected
	    comment "@var ORMCollection la lista de SCAs que soporta el dispositivo"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 1930245 // <association>
      end

      attribute 2021125 "linePort"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "@var ${type} la línea o puerto del SCA"
      end

      operation 2701061 "define"
	class_operation preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna un objeto de definicin predeterminado al cual hay que agregarle los mapeos pertinentes.
@param iplan\\orm\\ORM $orm el manejador de objetos para el cual se registra la definicin
@return ORMDefinition la definicin default"
      end
    end

    class 1387013 "LineTransferData"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Guarda los datos del sitio viejo cuando se da una Cesión Parcial de línea

@method Site getSite()
@method LineTransferData setSite()
@method Line getLine()
@method LineTransferData setLine()
"
      classrelation 1937285 // <generalisation>
	relation 1876229 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 1937285 // <generalisation>
	  b parent class_ref 141317 // ORMObject
      end

      classrelation 1936773 // line (<association>)
	relation 1875973 ----
	  a role_name "line" multiplicity "1" protected
	    comment "@var ${type} la línea cedida"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 1936773 // line (<association>)
	  b role_name "lineTransferData" multiplicity "1" protected
	    comment "@var ${type} la información de transferencia parcial si existiera"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 1936901 // <association>
      end

      classrelation 1937029 // site (<association>)
	relation 1876101 ----
	  a role_name "site" multiplicity "1" protected
	    comment "@var ${type} el sitio al cual pertenecía la línea"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 1937029 // site (<association>)
	  b role_name "transferedLineData" multiplicity "*" protected
	    comment "@var ORMCollection la lista de las líneas transferidas desde el sitio"
	    php "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	    classrelation_ref 1937157 // <association>
      end

      operation 2707589 "define"
	class_operation preserve_cpp_body_indent public explicit_return_type ""
	nparams 1
	  param inout name "orm" type class_ref 167685 // ORM
	    defaultvalue "null"
	
	preserve_java_body_indent 
	preserve_php_body_indent php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${p0}${v0}${)}
{
  ${body}}
"
	preserve_python_body_indent 
	
	comment "Retorna un objeto de definicin predeterminado al cual hay que agregarle los mapeos pertinentes.
@param iplan\\orm\\ORM $orm el manejador de objetos para el cual se registra la definicin
@return ORMDefinition la definicin default"
      end
    end
  end

  deploymentview 200069 "Wholesale Data Deployment"
    //deployment diagram settings
    package_name_in_tab default show_context default write_horizontally default auto_label_position default draw_all_relations default shadow default
    draw_component_as_icon default show_component_req_prov default show_component_rea default show_stereotype_properties default
    ncouples 1
    key "uses" value "require_once \"iplan/orm/ORMDefinition.php\";"
    artifact 461317 "Reseller"
      stereotype "source"
      php_src "<?php
${require_once}
@{uses}

/**
* Author: Jorge Alexis Viqueira
* ${description}
*/
${definition}
?>"
      associated_classes
	class_ref 552325 // Reseller
      end
    end

    artifact 461445 "Resource"
      stereotype "source"
      php_src "<?php
${require_once}
@{uses}

/**
* Author: Jorge Alexis Viqueira
* ${description}
*/
${definition}
?>"
      associated_classes
	class_ref 552453 // Resource
      end
    end

    artifact 461573 "ServiceProvider"
      stereotype "source"
      php_src "<?php
${require_once}
@{uses}

/**
* Author: Jorge Alexis Viqueira
* ${description}
*/
${definition}
?>"
      associated_classes
	class_ref 552581 // ServiceProvider
      end
    end

    artifact 461701 "NumerationBlock"
      stereotype "source"
      php_src "<?php
${require_once}
@{uses}

/**
* Author: Jorge Alexis Viqueira
* ${description}
*/
${definition}
?>"
      associated_classes
	class_ref 552709 // NumerationBlock
      end
    end

    artifact 461829 "Client"
      stereotype "source"
      php_src "<?php
${require_once}
@{uses}

/**
* Author: Jorge Alexis Viqueira
* ${description}
*/
${definition}
?>"
      associated_classes
	class_ref 552837 // Client
      end
    end

    artifact 461957 "PayPlan"
      stereotype "source"
      php_src "<?php
${require_once}
@{uses}

/**
* Author: Jorge Alexis Viqueira
* ${description}
*/
${definition}
?>"
      associated_classes
	class_ref 552965 // PayPlan
      end
    end

    artifact 462085 "Site"
      stereotype "source"
      php_src "<?php
${require_once}
@{uses}

/**
* Author: Jorge Alexis Viqueira
* ${description}
*/
${definition}
?>"
      associated_classes
	class_ref 553093 // Site
      end
    end

    artifact 462213 "Line"
      stereotype "source"
      php_src "<?php
${require_once}
@{uses}

/**
* Author: Jorge Alexis Viqueira
* ${description}
*/
${definition}
?>"
      associated_classes
	class_ref 559621 // Line
      end
    end

    artifact 462341 "LineType"
      stereotype "source"
      cpp_h "#ifndef ${NAMESPACE}_${NAME}_H
#define ${NAMESPACE}_${NAME}_H

${comment}
${includes}
${declarations}
${namespace_start}
${definition}
${namespace_end}
#endif
"
      cpp_src "${comment}
${includes}
${namespace_start}
${members}
${namespace_end}"
      java_src "${comment}
${package}
${imports}
${definition}"
      php_src "<?php
${require_once}
@{uses}

/**
* Author: Jorge Alexis Viqueira
* ${description}
*/
${definition}
?>"
      python_src "${comment}
${import}
${definition}"
      idl_src "#ifndef ${MODULE}_${NAME}_H
#define ${MODULE}_${NAME}_H

${comment}
${includes}
${module_start}
${definition}
${module_end}
#endif
"
      associated_classes
	class_ref 559749 // LineType
      end
    end

    artifact 462597 "ServicePack"
      stereotype "source"
      php_src "<?php
${require_once}
@{uses}

/**
* Author: Jorge Alexis Viqueira
* ${description}
*/
${definition}
?>"
      associated_classes
	class_ref 560005 // ServicePack
      end
    end

    artifact 469125 "RecepcionistType"
      stereotype "source"
      php_src "<?php
${require_once}
@{uses}

/**
* Author: Jorge Alexis Viqueira
* ${description}
*/
${definition}
?>"
      associated_classes
	class_ref 559877 // RecepcionistType
      end
    end

    artifact 475909 "CDR"
      stereotype "source"
      php_src "<?php
${require_once}
@{uses}

/**
* Author: Jorge Alexis Viqueira
* ${description}
*/
${definition}
?>"
      associated_classes
	class_ref 573061 // CDR
      end
    end

    artifact 475781 "Currency"
      stereotype "source"
      php_src "<?php
${require_once}
@{uses}

/**
* Author: Jorge Alexis Viqueira
* ${description}
*/
${definition}
?>"
      associated_classes
	class_ref 573189 // Currency
      end
    end

    artifact 482437 "Price"
      stereotype "source"
      php_src "<?php
${require_once}
@{uses}

/**
* Author: Jorge Alexis Viqueira
* ${description}
*/
${definition}
?>"
      associated_classes
	class_ref 579717 // Price
      end
    end

    artifact 482565 "FractionationType"
      stereotype "source"
      php_src "<?php
${require_once}
@{uses}

/**
* Author: Jorge Alexis Viqueira
* ${description}
*/
${definition}
?>"
      associated_classes
	class_ref 579845 // FractionationType
      end
    end

    artifact 482693 "Prefix"
      stereotype "source"
      php_src "<?php
${require_once}
@{uses}

/**
* Author: Jorge Alexis Viqueira
* ${description}
*/
${definition}
?>"
      associated_classes
	class_ref 579973 // Prefix
      end
    end

    artifact 482821 "PrefixGroup"
      stereotype "source"
      php_src "<?php
${require_once}
@{uses}

/**
* Author: Jorge Alexis Viqueira
* ${description}
*/
${definition}
?>"
      associated_classes
	class_ref 580101 // PrefixGroup
      end
    end

    artifact 482949 "Rate"
      stereotype "source"
      php_src "<?php
${require_once}
@{uses}

/**
* Author: Jorge Alexis Viqueira
* ${description}
*/
${definition}
?>"
      associated_classes
	class_ref 580229 // Rate
      end
    end

    artifact 483077 "PrefixGroupIn"
      stereotype "source"
      php_src "<?php
${require_once}
@{uses}

/**
* Author: Jorge Alexis Viqueira
* ${description}
*/
${definition}
?>"
      associated_classes
	class_ref 580357 // PrefixGroupIn
      end
    end

    artifact 483205 "PrefixGroupOut"
      stereotype "source"
      php_src "<?php
${require_once}
@{uses}

/**
* Author: Jorge Alexis Viqueira
* ${description}
*/
${definition}
?>"
      associated_classes
	class_ref 580485 // PrefixGroupOut
      end
    end

    artifact 483333 "PrefixIn"
      stereotype "source"
      php_src "<?php
${require_once}
@{uses}

/**
* Author: Jorge Alexis Viqueira
* ${description}
*/
${definition}
?>"
      associated_classes
	class_ref 580613 // PrefixIn
      end
    end

    artifact 483461 "PrefixOut"
      stereotype "source"
      php_src "<?php
${require_once}
@{uses}

/**
* Author: Jorge Alexis Viqueira
* ${description}
*/
${definition}
?>"
      associated_classes
	class_ref 580741 // PrefixOut
      end
    end

    artifact 483589 "Mode"
      stereotype "source"
      php_src "<?php
${require_once}
@{uses}

/**
* Author: Jorge Alexis Viqueira
* ${description}
*/
${definition}
?>"
      associated_classes
	class_ref 580869 // Mode
      end
    end

    artifact 520069 "PrefixType"
      stereotype "source"
      php_src "<?php
${require_once}
@{uses}

/**
* Author: Jorge Alexis Viqueira
* ${description}
*/
${definition}
?>"
      associated_classes
	class_ref 629509 // PrefixType
      end
    end

    artifact 526597 "PricesList"
      stereotype "source"
      php_src "<?php
${require_once}
@{uses}

/**
* Author: Jorge Alexis Viqueira
* ${description}
*/
${definition}
?>"
      associated_classes
	class_ref 642565 // PricesList
      end
    end

    artifact 560645 "Product"
      stereotype "source"
      php_src "<?php
${require_once}
@{uses}

/**
* Author: @{author}
* ${description}
*/
${definition}
?>"
      associated_classes
	class_ref 689413 // Product
      end
    end

    artifact 1174917 "TransferData"
      stereotype "source"
      php_src "<?php
${require_once}
@{uses}

/**
* Author: @{author}
* ${description}
*/
${definition}
?>"
      associated_classes
	class_ref 1380229 // TransferData
      end
    end

    artifact 1181701 "LineTransferData"
      stereotype "source"
      php_src "<?php
${require_once}
@{uses}

/**
* Author: @{author}
* ${description}
*/
${definition}
?>"
      associated_classes
	class_ref 1387013 // LineTransferData
      end
    end
  end

  deploymentview 206597 "Wholesale Deployment"
    //deployment diagram settings
    package_name_in_tab default show_context default write_horizontally default auto_label_position default draw_all_relations default shadow default
    draw_component_as_icon default show_component_req_prov default show_component_rea default show_stereotype_properties default
    ncouples 1
    key "uses" value ""
    artifact 475653 "WholesaleManager"
      stereotype "source"
      php_src "<?php
${require_once}
@{uses}

/**
* Author: Jorge Alexis Viqueira
* ${description}
*/
${definition}
?>"
      associated_classes
	class_ref 566533 // WholesaleManager
      end
    end
  end
end
