Together 5.0 Elont RationalRose:Tool#1 Java documentation oit documentation elont documentation event documentation AttachEvent documentation Event used, when the particle is being attached to or detached from the ontology. @author "dvid" David Zejda mailto: dvid@sourceforge.net or dvid@atlas.cz attachedParticle 1..1 documentation Holds value of property attachedParticle. AttachEvent documentation Creates a new instance source attachedParticle getAttachedParticle documentation Getter for property attachedParticle. @return Value of property attachedParticle. getAttachedParticle.Return toString documentation toString.Return documentation Holds value of property attachedParticle. AttachListener documentation Listener, that would like to be notified, as the particle is being attached to or detached from the ontology. @author "dvid" David Zejda mailto: dvid@sourceforge.net or dvid@atlas.cz particleAttached documentation Particle has been attached to the ontology. particleAttached.Return evt particleDetached documentation Particle has been detached from the ontology. particleDetached.Return evt AttachSource documentation Object able to inform about attaching and detaching. @author "dvid" David Zejda mailto: dvid@sourceforge.net or dvid@atlas.cz addAttachListener documentation The listener will be informed every time the attaching or detaching occured. addAttachListener.Return listener removeAttachListener documentation The listener will be informed no more. removeAttachListener.Return listener AttachSupport documentation Class, that gathers the whole functionality of AttachEvent source. @author "dvid" David Zejda mailto: dvid@sourceforge.net or dvid@atlas.cz source 1..1 documentation The real object, that should be written info new event as its source. AttachSupport documentation Creates a new instance source removeAttachListener documentation removeAttachListener.Return l addAttachListener documentation addAttachListener.Return l fireAttached documentation May be called (usually from the source) to generate and send event. fireAttached.Return attachedParticle fireAttached documentation May be called (usually from the source) to generate and send event. fireAttached.Return e fireDetached documentation May be called (usually from the source) to generate and send event. fireDetached.Return detachedParticle fireDetached documentation May be called (usually from the source) to generate and send event. fireDetached.Return e AttributeChangeEvent documentation Event used, when the attribute of particle is being created or changed. @author "dvid" David Zejda mailto: dvid@sourceforge.net or dvid@atlas.cz attribute 1..1 documentation Holds value of property attribute. AttributeChangeEvent documentation Creates a new instance source attribute getEntity documentation Getter for property entity. @return Value of property entity. getEntity.Return getAttribute documentation Getter for property attribute. @return Value of property attribute. getAttribute.Return documentation Holds value of property attribute. AttributeChangeListener documentation Listener, that would like to be notified, as the particle is being enriched by attribute or its attribute is being changed. @author "dvid" David Zejda mailto: dvid@sourceforge.net or dvid@atlas.cz attributeChanged documentation Attribute has been changed. attributeChanged.Return evt AttributeChangeSource documentation Object able to inform about changes in attributes. @author "dvid" David Zejda mailto: dvid@sourceforge.net or dvid@atlas.cz addAttributeChangeListener documentation The listener will be informed every time the change occured. addAttributeChangeListener.Return listener removeAttributeChangeListener documentation The listener will be informed no more. removeAttributeChangeListener.Return listener AttributeChangeSupport documentation Class, that gathers the whole functionality of AttributeChangeEvent source. @author "dvid" David Zejda mailto: dvid@sourceforge.net or dvid@atlas.cz source 1..1 documentation The real object, that should be written info new event as its source. AttributeChangeSupport documentation Creates a new instance source removeAttributeChangeListener documentation removeAttributeChangeListener.Return l addAttributeChangeListener documentation addAttributeChangeListener.Return l fireAttributeChangeed documentation May be called (usually from the source) to generate and send event. fireAttributeChangeed.Return a fireAttributeChangeed documentation May be called (usually from the source) to generate and send event. fireAttributeChangeed.Return e RelationChangeEvent documentation Event used, when the particle is being attached to or detached from the ontology. @author "dvid" David Zejda mailto: dvid@sourceforge.net or dvid@atlas.cz relation 1..1 documentation Holds value of property relation. RelationChangeEvent documentation Creates a new instance source relation getRelation documentation Getter for property relation. @return Value of property relation. getRelation.Return documentation Holds value of property relation. RelationChangeListener documentation Listener, that would like to be notified, as the particle is entering the new relation or leaving the old one. @author "dvid" David Zejda mailto: dvid@sourceforge.net or dvid@atlas.cz relationChanged documentation Relation has been changed. relationChanged.Return evt RelationChangeSource documentation Object able to inform about changes in relations. @author "dvid" David Zejda mailto: dvid@sourceforge.net or dvid@atlas.cz addRelationChangeListener documentation The listener will be informed every time the change occured. addRelationChangeListener.Return listener removeRelationChangeListener documentation The listener will be informed no more. removeRelationChangeListener.Return listener RelationChangeSupport documentation Class, that gathers the whole functionality of RelationChangeEvent source. @author "dvid" David Zejda mailto: dvid@sourceforge.net or dvid@atlas.cz source 1..1 documentation The real object, that should be written info new event as its source. RelationChangeSupport documentation Creates a new instance source removeRelationChangeListener documentation removeRelationChangeListener.Return l addRelationChangeListener documentation addRelationChangeListener.Return l fireRelationChangeed documentation fireRelationChangeed.Return a fireRelationChangeed documentation Fired every time ... @param e event fireRelationChangeed.Return e infer documentation BasicInferenceEngine documentation Default implementation of InferenceEngine. @author "dvid" David Zejda mailto: dvid@sourceforge.net or dvid@atlas.cz instance 1..1 null RationalRose$Java:Static True documentation Singleton instance holder. BasicInferenceEngine documentation Creates a new instance - only for internal usage. instance documentation Factory method for BasicInferenceEngine. Should be used instead of direct constructor calling. Ensures, that there is only one instance at once (~Singleton) RationalRose$Java:Static True instance.Return documentation Singleton instance holder. InferenceEngine documentation The engine responsible for inferences in the ontology. Currently supports only the inheritance inferences. There is strong intent to leave the kernel as simple, as possible. So, most of functionality should be delegated to decorators, factories, helpers etc. This interface is one of them. @author "dvid" David Zejda mailto: dvid@sourceforge.net or dvid@atlas.cz ui documentation AttributeTableModel documentation Model for JTable, able to show attributes of entity. @author "dvid" David Zejda mailto: dvid@sourceforge.net or dvid@atlas.cz e 1..1 documentation showInferred 1..1 documentation Holds value of property showInferred. AttributeTableModel documentation Creates a new instance of AttributeTableModel AttributeTableModel documentation Creates a new instance of AttributeTableModel with initial entity e setEntity documentation Setter for property entity. Property entity says, the attributes of which entity to show. If set, the table backed by this model is repainted. @param e New value of property entity. setEntity.Return e getColumnCount documentation getColumnCount.Return getRowCount documentation getRowCount.Return getValueAt documentation getValueAt.Return row col getColumnClass documentation getColumnClass.Return columnIndex getColumnName documentation getColumnName.Return columnIndex attributeChanged documentation attributeChanged.Return evt setShowInferred documentation Setter for property showInferred. @param showInferred New value of property showInferred. setShowInferred.Return showInferred ElontApplet documentation Graphical applet, demonstrates the functionality of key parts of elont library. Allows - creating inheritance hierarchy of entities - appending attributes to created entities - connecting the entities with relations - browsing the created ontology It's only demo application, so it lacks of - persistence - inheritance of relations and attributes - more complicated inferences etc. @author David ont 1..1 Ontology.instance() documentation treeModel 1..1 new OntologyTreeModel() documentation attribModel 1..1 new AttributeTableModel() documentation relModel 1..1 new RelationTableModel() documentation statusModel 1..1 new DefaultListModel() documentation entityCounter 1..1 1 documentation jButtonAttrib 1..1 documentation jButtonEntity 1..1 documentation jButtonRel 1..1 documentation jCheckBox1 1..1 documentation jCheckBox2 1..1 documentation jComboBoxRel 1..1 documentation jComboBoxRelC 1..1 documentation jComboBoxRelCRole 1..1 documentation jComboBoxRelRole 1..1 documentation jLabel1 1..1 documentation jLabel2 1..1 documentation jLabel3 1..1 documentation jList1 1..1 documentation jPanel1 1..1 documentation jPanel10 1..1 documentation jPanel11 1..1 documentation jPanel12 1..1 documentation jPanel13 1..1 documentation jPanel2 1..1 documentation jPanel3 1..1 documentation jPanel4 1..1 documentation jPanel5 1..1 documentation jPanel6 1..1 documentation jPanel7 1..1 documentation jPanel8 1..1 documentation jPanel9 1..1 documentation jScrollPane1 1..1 documentation jScrollPane2 1..1 documentation jScrollPane3 1..1 documentation jScrollPane4 1..1 documentation jTable1 1..1 documentation jTable2 1..1 documentation jTextFieldAttrib 1..1 documentation jTextFieldAttrval 1..1 documentation jTextFieldEntity 1..1 documentation jTree1 1..1 documentation init documentation init.Return initComponents documentation This method is called from within the init() method to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor. initComponents.Return jCheckBox2ActionPerformed documentation jCheckBox2ActionPerformed.Return evt jTable1MouseClicked documentation jTable1MouseClicked.Return evt jCheckBox1ActionPerformed documentation jCheckBox1ActionPerformed.Return evt contains documentation contains.Return c value jButtonRelActionPerformed documentation jButtonRelActionPerformed.Return evt curEntity documentation curEntity.Return jButtonAttribActionPerformed documentation jButtonAttribActionPerformed.Return evt jTree1PropertyChange documentation jTree1PropertyChange.Return evt jButtonEntityActionPerformed documentation jButtonEntityActionPerformed.Return evt OntologyTreeModel documentation Model for JTree, able to show entity hierarchy. Decorator for the DefaultTreeModel. @author "dvid" David Zejda mailto: dvid@sourceforge.net or dvid@atlas.cz o 1..1 Ontology.instance() documentation Ontology to be shown root 1..1 new DefaultMutableTreeNode("root") documentation Root node of the tree backmodel 1..1 new DefaultTreeModel(root) documentation Decorated model OntologyTreeModel documentation Creates a new instance of OntologyTreeModel findNode documentation Finds the node of the tree, that envelopes the entity ent. findNode.Return ent particleAttached documentation If there is a new entity attached to ontology, the model must be refreshed.. particleAttached.Return evt particleDetached documentation Not implemented yet.. particleDetached.Return evt addTreeModelListener documentation addTreeModelListener.Return treeModelListener removeTreeModelListener documentation removeTreeModelListener.Return treeModelListener valueForPathChanged documentation valueForPathChanged.Return treePath obj getChild documentation getChild.Return obj param getChildCount documentation getChildCount.Return obj getIndexOfChild documentation getIndexOfChild.Return obj obj1 getRoot documentation getRoot.Return isLeaf documentation isLeaf.Return obj documentation Ontology to be shown RelationTableModel documentation Model for JTable, able to show relations of entity. @author "dvid" David Zejda mailto: dvid@sourceforge.net or dvid@atlas.cz COL_ROLE 1..1 0 RationalRose$Java:Final True RationalRose$Java:Static True documentation Index of column for "role" COL_RELATION 1..1 1 RationalRose$Java:Final True RationalRose$Java:Static True documentation Index of column for "relation" COL_CPARTROLE 1..1 2 RationalRose$Java:Final True RationalRose$Java:Static True documentation Index of column for "counterpart role" COL_CPART 1..1 3 RationalRose$Java:Final True RationalRose$Java:Static True documentation Index of column for "counterpart" e 1..1 documentation Relations of this entity should be shown showInferred 1..1 documentation Holds value of property showInferred. withIsa 1..1 documentation Holds value of property withIsa. RelationTableModel documentation Creates a new instance RelationTableModel documentation Creates a new instance with initial entity e setEntity documentation Setter for property entity. Property entity says, relations of which entity to show. If set, the table backed by this model is repainted. @param e New value of property entity. setEntity.Return e getColumnCount documentation getColumnCount.Return getRowCount documentation getRowCount.Return getValueAt documentation getValueAt.Return row col getColumnClass documentation getColumnClass.Return columnIndex getColumnName documentation getColumnName.Return columnIndex relationChanged documentation relationChanged.Return evt setShowInferred documentation Setter for property showInferred. Whether to show the relations inferred from the inheritance path. @param showInferred New value of property showInferred. setShowInferred.Return showInferred isWithIsa documentation Getter for property withIsa. @return Value of property withIsa. isWithIsa.Return setWithIsa documentation Setter for property withIsa. Whether to show the isa relations (subconcept/superconcept). @param withIsa New value of property withIsa. setWithIsa.Return withIsa documentation Relations of this entity should be shown util documentation EntityFactory documentation Singleton factory class to help with entity instantiation. There is strong intent to leave the kernel as simple, as possible. So, most of functionality should be delegated to decorators, factories, helpers etc. This class is one of them. @author "dvid" David Zejda mailto: dvid@sourceforge.net or dvid@atlas.cz o 1..1 Ontology.instance() documentation Ontology to create entities for instance 1..1 null RationalRose$Java:Static True documentation Singleton instance holder. instance documentation Factory method for EntityFactory. Should be used instead of direct constructor calling. Ensures, that there is only one instance at once (~Singleton) RationalRose$Java:Static True instance.Return EntityFactory documentation Creates a new instance of EntityFactory - only for internal usage entityInstance documentation Creates the new entity and the isa relation to the parent entity. entityInstance.Return name parent documentation Ontology to create entities for documentation Singleton instance holder. InheritanceHelper documentation Singleton helper class, that makes the inheritance inference and manipulation easier. It has not its own state - everything is delegated to the backed Particle. There is strong intent to leave the kernel as simple, as possible. So, most of functionality should be delegated to decorators, factories, helpers etc. This class is one of them. @author "dvid" David Zejda mailto: dvid@sourceforge.net or dvid@atlas.cz @see RelationFactory for isa relationships creation instance 1..1 null RationalRose$Java:Static True documentation Singleton instance holder. InheritanceHelper documentation Creates a new instance of InheritanceHelper - only for internal usage instance documentation Factory method for InheritanceHelper. Should be used instead of direct constructor calling. Ensures, that there is only one instance at once (~Singleton) RationalRose$Java:Static True instance.Return parent documentation Finds the direct parent entity If there is no parent, returns null parent.Return p root documentation Finds the root concept (least specific superconcept) of the p. If there is no parent concept, returns p root.Return p documentation Singleton instance holder. RelationFactory documentation Singleton factory class to help with relation instantiation. Currently simplifies only the inheritance relation creation. There is strong intent to leave the kernel as simple, as possible. So, most of functionality should be delegated to decorators, factories, helpers etc. This class is one of them. @author "dvid" David Zejda mailto: dvid@sourceforge.net or dvid@atlas.cz instance 1..1 null RationalRose$Java:Static True documentation Singleton instance holder. RELATION_ISA 1..1 "isa" RationalRose$Java:Static True documentation Name of the isa relation ROLE_SUPER 1..1 "superconcept" RationalRose$Java:Static True documentation Name of the isa superconcept role ROLE_SUB 1..1 "subconcept" RationalRose$Java:Static True documentation Name of the isa subconcept role RelationFactory documentation Creates a new instance of RelationFactory instance documentation Factory method for RelationFactory. Should be used instead of direct constructor calling. Ensures, that there is only one instance at once (~Singleton) RationalRose$Java:Static True instance.Return isaInstance documentation Creates the isa relation between superconcept and subconcept. At least the relation itself and the two roles are created. isaInstance.Return superconcept subconcept documentation Singleton instance holder. RelationHelper documentation Singleton helper class, that makes the manipulation with relations easier. It has not its own state - everything is delegated to the backed Particle. There is strong intent to leave the kernel as simple, as possible. So, most of functionality should be delegated to decorators, factories, helpers etc. This class is one of them. @author "dvid" David Zejda mailto: dvid@sourceforge.net or dvid@atlas.cz instance 1..1 null RationalRose$Java:Static True documentation Singleton instance holder. instance documentation Factory method for RelationHelper. Should be used instead of direct constructor calling. Ensures, that there is only one instance at once (~Singleton) RationalRose$Java:Static True instance.Return RelationHelper documentation Creates a new instance of RelationHelper - only for internal usage opposite documentation Returns the other role of the same relation Works only for bilateral relations opposite.Return r participation documentation Returns the role, in which the e is present in the r relation If there is no such role in roles of relation, null is returned participation.Return r e participation documentation Returns the role of e, named as specified in roleName If there is no such role in roles of relation, null is returned participation.Return roleName e documentation Singleton instance holder. Attribute documentation Allows to describe the entity with a set of traits. UNKNOWN 1..1 "_unknown_" RationalRose$Java:Static True documentation belongsTo 1..1 documentation Holds value of property belongsTo. domain 1..1 documentation Holds value of property domain. type 1..1 String.class documentation Holds value of property type. value 1..1 documentation Holds value of property value. atcsupp 1..1 new AttributeChangeSupport(this) documentation Support for event delagation model Attribute documentation For internal use - should be called ONLY from Entities! name belongsTo getBelongsTo documentation Getter for property belongsTo. @return Value of property belongsTo. getBelongsTo.Return setBelongsTo documentation Setter for property belongsTo. @param belongsTo New value of property belongsTo. setBelongsTo.Return belongsTo getDomain documentation Getter for property domain. @return Value of property domain. getDomain.Return setDomain documentation Setter for property domain. @param domain New value of property domain. setDomain.Return domain getType documentation Getter for property type. @return Value of property type. getType.Return setType documentation Setter for property type. @param type New value of property type. setType.Return type getValue documentation Getter for property value. @return Value of property value. getValue.Return setValue documentation Setter for property value. @param value New value of property value. setValue.Return value addAttributeChangeListener documentation addAttributeChangeListener.Return listener removeAttributeChangeListener documentation removeAttributeChangeListener.Return listener documentation Holds value of property belongsTo. documentation Support for event delagation model Entity documentation The most important class of the model. Covers both the concepts and instances. May be enriched by attributes and encompanied into relations with other particles. atcsupp 1..1 new AttributeChangeSupport(this) documentation Support for event delagation model Entity documentation instance documentation Factory method for Entity. Should be used instead of direct constructor calling. Ensures, that there is only one instance for a key at once (~Singleton) RationalRose$Java:Static True instance.Return name attributeInstance documentation Factory method for Attribute. Should be used instead of direct constructor calling. Ensures, that there is only one instance for a key at once (~Singleton) If attribute of name name exists, it is returned; If not, the new one is created and then returned. attributeInstance.Return name addAttributeChangeListener documentation addAttributeChangeListener.Return listener removeAttributeChangeListener documentation removeAttributeChangeListener.Return listener documentation Support for event delagation model Ontology documentation Container for particles of all types. instance 1..1 null RationalRose$Java:Static True documentation Singleton instance holder. attachSupport 1..1 new AttachSupport(this) documentation ignoreAttaches 1..1 false documentation Holds value of property ignoreAttaches. instance documentation Factory method for Ontology. Should be used instead of direct constructor calling. Ensures, that there is only one instance at once (~Singleton) RationalRose$Java:Static True instance.Return attach documentation The method plugs the particle into ontology. During attachement, the tests should be performed, if successful, listeners informed... attach.Return p detach documentation Removes the particle from the ontology. Tests of validity should be performed, listeners informed... detach.Return p addAttachListener documentation addAttachListener.Return listener removeAttachListener documentation removeAttachListener.Return listener isIgnoreAttaches documentation Getter for property ignoreAttaches. @return Value of property ignoreAttaches. isIgnoreAttaches.Return setIgnoreAttaches documentation Setter for property ignoreAttaches. @param ignoreAttaches New value of property ignoreAttaches. setIgnoreAttaches.Return ignoreAttaches documentation Singleton instance holder. Particle documentation Root class of the objects attachable to the ontology. Each particle is individual, full-fledged part of the tree. attachedTo 1..1 documentation Holds value of property attachedTo. label 1..1 documentation Holds value of property label. name 1..1 documentation Holds value of property name. relcsupp 1..1 new RelationChangeSupport(this) documentation Support for event delagation model postInit documentation All subclasses of this MUST call the method once, as fully instantiated Currently, the particle will be attached to the relevant ontology, where the validity checks are performed and the listeners informed. postInit.Return getAttachedTo documentation Getter for property attachedTo. @return Value of property attachedTo. getAttachedTo.Return setAttachedTo documentation Setter for property attachedTo. @param attachedTo New value of property attachedTo. setAttachedTo.Return attachedTo getLabel documentation Getter for property label. @return Value of property label. getLabel.Return setLabel documentation Setter for property label. @param label New value of property label. setLabel.Return label getName documentation Getter for property name. @return Value of property name. getName.Return participationChanged documentation Must be called, if the particle has entered a new relation or the participation have lost. participationChanged.Return r toString documentation toString.Return addRelationChangeListener documentation addRelationChangeListener.Return listener removeRelationChangeListener documentation removeRelationChangeListener.Return listener relationChanged documentation Gathers the events from relations relationChanged.Return evt documentation Holds value of property attachedTo. documentation Support for event delagation model Relation documentation The only way, how to represent the relations between particles. Also the isa relation is implemented this way. relcsupp 1..1 new RelationChangeSupport(this) documentation Support for event delagation model Relation documentation Publicly usable constructor. name roleInstance documentation Factory method for Role. Should be used instead of direct constructor calling. Ensures, that there is only one instance for a key at once (~Singleton) roleInstance.Return name addRelationChangeListener documentation addRelationChangeListener.Return listener removeRelationChangeListener documentation removeRelationChangeListener.Return listener relationChanged documentation Gathers the events from roles relationChanged.Return evt documentation Support for event delagation model Role documentation The integral part of every relation. The counterparts of relation performs the specific roles. name 1..1 documentation Holds value of property name. It's the name from the point of view beginning on the role side. (role "mother" => "mother of", role "daughter" => "child of" etc.) participant 1..1 documentation Holds value of property participant. relation 1..1 documentation Holds value of property relation. relcsupp 1..1 new RelationChangeSupport(this) documentation Support for event delagation model Role documentation name relation getName documentation Getter for property name. @return Value of property name. getName.Return getParticipant documentation Getter for property participant. @return Value of property participant. getParticipant.Return setParticipant documentation Setter for property participant. @param participant New value of property participant. setParticipant.Return participant getRelation documentation Getter for property relation. @return Value of property relation. getRelation.Return addRelationChangeListener documentation addRelationChangeListener.Return listener removeRelationChangeListener documentation removeRelationChangeListener.Return listener toString documentation toString.Return documentation Holds value of property participant. documentation Holds value of property relation. documentation Support for event delagation model Class AttributeChangeListener AttachEvent AttributeChangeEvent Object RelationChangeListener AttributeTableModel void javax.swing.JCheckBox DefaultListModel RelationTableModel java.awt.event.MouseEvent InheritanceHelper javax.swing.JComboBox OntologyTreeModel EntityFactory javax.swing.JPanel RelationChangeEvent Role javax.swing.JTable javax.swing.event.TreeModelListener DefaultMutableTreeNode Ontology oit.elont.event.AttachListener RelationFactory oit.elont.event.RelationChangeListener RelationHelper javax.swing.JTextField oit.elont.event.RelationChangeEvent DefaultTreeModel int String javax.swing.JButton javax.swing.tree.TreePath RelationChangeSupport Entity AttachListener AttachSupport AttributeChangeSupport oit.elont.event.AttributeChangeListener javax.swing.JScrollPane javax.swing.JTree java.awt.event.ActionEvent oit.elont.event.AttributeChangeEvent javax.swing.JList Attribute JComboBox Particle javax.swing.JLabel Relation oit.elont.event.AttachEvent java.beans.PropertyChangeEvent BasicInferenceEngine boolean __NotInProject__ java util EventObject javax swing table AbstractTableModel tree TreeModel JApplet