MetaDone
metadone.plugin.urn.URN Class Reference
Inheritance diagram for metadone.plugin.urn.URN:
Collaboration diagram for metadone.plugin.urn.URN:

List of all members.

Public Member Functions

void trigger (WorkspaceChanged event)

Private Member Functions

void initializeProperties (Workspace ws) throws BadPreCondition
void createDefaultValues (ConcreteModel cm, ConcreteObject co) throws BadPreCondition

Private Attributes

final SubscriberHandler
< EventLinkSpec
eventCreate
final ImageLoader eventLoad = new ImageLoader()
MetaModel mm_urn
MetaProperty< String > mp_urn_name
MetaObject mo_urn_element
MetaProperty< String > mp_urn_id
MetaProperty< String > mp_urn_description
MetaModel mm_grl
MetaModel mm_grl_graph
MetaObject mo_grl_element
MetaObject mo_grl_element_linkable
MetaObject mo_grl_actor
MetaObject mo_grl_intentional
MetaPropertyExt< String > mp_grl_intentional_type
MetaPropertyExt< String > mp_grl_intentional_decomp
MetaPropertyExt< String > mp_grl_intentional_importance
MetaPropertyExt< Long > mp_grl_intentional_importanceQ
MetaRole mr_grl_actor_intention
MetaRole mr_grl_element_link
MetaPropertyExt< String > mp_grl_element_link_type
MetaPropertyExt< String > mp_grl_element_link_contrib_type
MetaPropertyExt< Long > mp_grl_element_link_contrib_quantitative
MetaPropertyExt< Boolean > mp_grl_element_link_contrib_correlation
MetaObject mo_grl_strategies_group
MetaObject mo_grl_eval_strategy
MetaRole mr_grl_eval_strategy_group
MetaObject mo_grl_evaluation
MetaRole mr_grl_eval_strategy_ev
MetaPropertyExt< Long > mp_grl_evaluation_evaluation
MetaPropertyExt< String > mp_grl_evaluation_evaluationQual
MetaRole mr_grl_evaluation_intentional
MetaModel mm_ucm
MetaModel mm_ucm_map
MetaObject mo_ucm_element
MetaObject mo_ucm_pathnode
MetaRole mr_ucm_path_next
MetaPropertyExt< String > mp_ucm_path_next_label
MetaObject mo_ucm_responsibility
MetaObject mo_ucm_path_start
MetaObject mo_ucm_path_end
MetaObject mo_ucm_path_empty
MetaObject mo_ucm_path_resp
MetaRole mr_ucm_path_resp_ref
MetaObject mo_ucm_path_wait
MetaObject mo_ucm_path_timer
MetaRole mr_ucm_path_next_timer
MetaObject mo_ucm_path_connect
MetaObject mo_ucm_fork_and
MetaObject mo_ucm_join_and
MetaObject mo_ucm_fork_or
MetaObject mo_ucm_join_or
MetaObject mo_ucm_stub
MetaPropertyExt< Boolean > mp_ucm_stub_dynamic
MetaPropertyExt< Boolean > mp_ucm_stub_synchronizing
MetaPropertyExt< Boolean > mp_ucm_stub_blocking
MetaRole mr_ucm_plugin_binding
MetaRole mr_ucm_in_binding
MetaRole mr_ucm_in_binding_plugin
MetaRole mr_ucm_out_binding
MetaRole mr_ucm_out_binding_plugin
MetaObject mo_ucm_component
MetaPropertyExt< String > mp_ucm_component_kind
MetaPropertyExt< Boolean > mp_ucm_component_protected
MetaRole mr_ucm_component_inc
MetaObject mo_ucm_component_ref
MetaRole mr_ucm_component_ref_ref
MetaRole mr_ucm_component_ref_parent
MetaRole mr_ucm_component_ref_node

Static Private Attributes

static final Logger logger = Logger.getLogger(URN.class)

Detailed Description

URN plugin.


Member Function Documentation

void metadone.plugin.urn.URN.createDefaultValues ( ConcreteModel  cm,
ConcreteObject  co 
) throws BadPreCondition [private]

Member Data Documentation

final SubscriberHandler<EventLinkSpec> metadone.plugin.urn.URN.eventCreate [private]
Initial value:
 new SubscriberHandler<EventLinkSpec>(EventLinkSpec.class) {
        {
            setPredicate(MapFcts.equal(EventLinkType.getType, EventLinkType.DEF));
        }

        @Override
        public void trigger(EventLinkSpec event) {
            try {
                if (event.isDeleting()) {
                    return;
                }
                createDefaultValues(event.getDomain().narrow2ConcreteModel(), event.getRange());
            } catch (final BadPreCondition e) {
                logger.warn("Failed to initialize default values", e);
            }
        }
    }
final Logger metadone.plugin.urn.URN.logger = Logger.getLogger(URN.class) [static, private]
MetaPropertyExt<String> metadone.plugin.urn.URN.mp_grl_element_link_type [private]
MetaPropertyExt<String> metadone.plugin.urn.URN.mp_grl_intentional_decomp [private]
MetaPropertyExt<String> metadone.plugin.urn.URN.mp_grl_intentional_importance [private]
MetaPropertyExt<String> metadone.plugin.urn.URN.mp_grl_intentional_type [private]
MetaPropertyExt<String> metadone.plugin.urn.URN.mp_ucm_component_kind [private]
MetaPropertyExt<Boolean> metadone.plugin.urn.URN.mp_ucm_component_protected [private]
MetaPropertyExt<String> metadone.plugin.urn.URN.mp_ucm_path_next_label [private]
MetaPropertyExt<Boolean> metadone.plugin.urn.URN.mp_ucm_stub_blocking [private]
MetaPropertyExt<Boolean> metadone.plugin.urn.URN.mp_ucm_stub_dynamic [private]
MetaPropertyExt<Boolean> metadone.plugin.urn.URN.mp_ucm_stub_synchronizing [private]
MetaProperty<String> metadone.plugin.urn.URN.mp_urn_description [private]
MetaProperty<String> metadone.plugin.urn.URN.mp_urn_id [private]
MetaProperty<String> metadone.plugin.urn.URN.mp_urn_name [private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations