UML.Semantic.BehavioralElements.CommonBehavior
Class LinkObject

java.lang.Object
  |
  +--UML.Semantic.Foundation.Core.ModelElement
        |
        +--UML.Semantic.BehavioralElements.CommonBehavior.Link
              |
              +--UML.Semantic.BehavioralElements.CommonBehavior.LinkObject
All Implemented Interfaces:
Element, ElementAtt, LinkAtt

public class LinkObject
extends Link

A link object is a link with its own set of attribute values and to which a set of operations may be applied.

In the metamodel LinkObject is a connection between a set of Instances, where the connection itself may have a set of attribute values and to which a set of Operations may be applied. It should be a subclass of both Object and Link, but since multiple inheritance is not permitted in Java, LinkObject is a subclass of Link which has an attribute of type Object to emulate the Object behaviour.


Constructor Summary
LinkObject()
           
 
Method Summary
 boolean check()
          Checks if well-formedness rules are respected in this model element.
 
Methods inherited from class UML.Semantic.Foundation.Core.ModelElement
add, add, getBindingList, getConstraintList, getElementType, getErrors, getHref, getId, getIdentification, getIdref, getIndex, getInfo, getIsOwned, getLabel, getLocator, getName, getNamespace, getNamespaceId, getStereotype, getTemplate, getTemplateParameterList, getTitle, getUuid, getUuidref, getVisibility, getVisibilitySymbol, getWarnings, setElementType, setErrors, setHref, setId, setIdref, setIndex, setIsOwned, setLabel, setName, setNamespace, setTemplate, setTitle, setUuid, setUuidref, setVisibility, setWarnings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkObject

public LinkObject()
Method Detail

check

public boolean check()
Checks if well-formedness rules are respected in this model element.

Overrides:
check in class Link
Returns:
True if check was successful, false otherwise.