org.modeldriven.fuml.xmi
Class XmiReferenceAttribute

java.lang.Object
  extended by org.modeldriven.fuml.xmi.XmiReferenceAttribute
All Implemented Interfaces:
XmiReference

public class XmiReferenceAttribute
extends Object
implements XmiReference

This class is an XmiReference implementation holding reference data and related information found within XML attributes. An attribute may hold any number of references to entities within a mode, separated by space (' ') character delimiters. Only "internal" references are found in XML attributes within an XMI formatted source. Internal references target model entities found in the same source XMI as the reference. For more information on XMI references, see the XmiReference interface documentation.

Author:
Scott Cinnamond

Constructor Summary
XmiReferenceAttribute(XmiNode node, Attribute attribute, Classifier classifier)
           
 
Method Summary
 Classifier getClassifier()
           
 int getColumnNumber()
           
 int getLineNumber()
           
 String getLocalName()
           
 int getReferenceCount()
           
 Iterator<String> getXmiIds()
           
 XmiNode getXmiNode()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmiReferenceAttribute

public XmiReferenceAttribute(XmiNode node,
                             Attribute attribute,
                             Classifier classifier)
Method Detail

getClassifier

public Classifier getClassifier()
Specified by:
getClassifier in interface XmiReference

getXmiNode

public XmiNode getXmiNode()
Specified by:
getXmiNode in interface XmiReference

getLocalName

public String getLocalName()
Specified by:
getLocalName in interface XmiReference

getLineNumber

public int getLineNumber()
Specified by:
getLineNumber in interface XmiReference

getColumnNumber

public int getColumnNumber()
Specified by:
getColumnNumber in interface XmiReference

getReferenceCount

public int getReferenceCount()
Specified by:
getReferenceCount in interface XmiReference

getXmiIds

public Iterator<String> getXmiIds()
Specified by:
getXmiIds in interface XmiReference


Copyright © 2012. All Rights Reserved.