UML.Semantic.Foundation.AuxiliaryElements
Class Presentation

java.lang.Object
  |
  +--UML.Semantic.Foundation.AuxiliaryElements.Presentation
All Implemented Interfaces:
ElementAtt, LinkAtt

public class Presentation
extends java.lang.Object
implements ElementAtt, LinkAtt

A presentation is the relationship between a view element and a model element (or possibly a set of each). The details are dependent on the implementation of a graphic editor tool.

In the metamodel Presentation reifies the relationship between ModelElement and ViewElement and provides the placement and the style of presentation to be used when presenting the ModelElements.


Constructor Summary
Presentation()
           
 
Method Summary
 void add(Locator locator)
          Adds a locator to the set of locators.
 boolean check()
          Checks if well-formedness rules are respected in this model element.
 java.lang.String getElementType()
           
 java.lang.String getHref()
          Gets the element href.
 java.lang.String getId()
          Gets the element identifier.
 java.lang.String getIdref()
          Gets the element identifier reference.
 java.lang.String getLabel()
          Gets the element label.
 java.util.Vector getLocator()
          Gets the set of locators.
 java.lang.String getStyle()
          Gets the description of the graphic markers.
 java.lang.String getTitle()
          Gets the element reference title.
 java.lang.String getUuid()
          Gets the element unique identifier.
 java.lang.String getUuidref()
          Gets the element unique identifier reference.
 void setElementType(java.lang.String type)
           
 void setHref(java.lang.String href)
          Sets the element href reference to given value.
 void setId(java.lang.String id)
          Sets the element identifier to given value.
 void setIdref(java.lang.String idref)
          Sets the element identifier reference to given value.
 void setLabel(java.lang.String label)
          Sets the element label to given value.
 void setStyle(java.lang.String style)
          Sets the description of the graphic markers.
 void setTitle(java.lang.String title)
          Sets the element reference title to given value.
 void setUuid(java.lang.String uuid)
          Sets the element unique identifier to given value.
 void setUuidref(java.lang.String uuidref)
          Sets the element unique identifier reference to given value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Presentation

public Presentation()
Method Detail

setId

public void setId(java.lang.String id)
Sets the element identifier to given value.

Specified by:
setId in interface ElementAtt

setLabel

public void setLabel(java.lang.String label)
Sets the element label to given value.

Specified by:
setLabel in interface ElementAtt

setUuid

public void setUuid(java.lang.String uuid)
Sets the element unique identifier to given value.

Specified by:
setUuid in interface ElementAtt

setHref

public void setHref(java.lang.String href)
Sets the element href reference to given value.

Specified by:
setHref in interface LinkAtt

setTitle

public void setTitle(java.lang.String title)
Sets the element reference title to given value.

Specified by:
setTitle in interface LinkAtt

add

public void add(Locator locator)
Adds a locator to the set of locators.


setIdref

public void setIdref(java.lang.String idref)
Sets the element identifier reference to given value.

Specified by:
setIdref in interface LinkAtt

setUuidref

public void setUuidref(java.lang.String uuidref)
Sets the element unique identifier reference to given value.

Specified by:
setUuidref in interface LinkAtt

getId

public java.lang.String getId()
Gets the element identifier.

Specified by:
getId in interface ElementAtt
Returns:
The identifier string.

getLabel

public java.lang.String getLabel()
Gets the element label.

Specified by:
getLabel in interface ElementAtt
Returns:
The label string.

getUuid

public java.lang.String getUuid()
Gets the element unique identifier.

Specified by:
getUuid in interface ElementAtt
Returns:
The unique identifier string.

getHref

public java.lang.String getHref()
Gets the element href.

Specified by:
getHref in interface LinkAtt
Returns:
The href string.

getTitle

public java.lang.String getTitle()
Gets the element reference title.

Returns:
The title string.

getLocator

public java.util.Vector getLocator()
Gets the set of locators.

Returns:
A set of locators.

getIdref

public java.lang.String getIdref()
Gets the element identifier reference.

Specified by:
getIdref in interface LinkAtt
Returns:
The identifier reference string.

getUuidref

public java.lang.String getUuidref()
Gets the element unique identifier reference.

Specified by:
getUuidref in interface LinkAtt
Returns:
The unique identifier reference string.

setStyle

public void setStyle(java.lang.String style)
Sets the description of the graphic markers.


getStyle

public java.lang.String getStyle()
Gets the description of the graphic markers.

Returns:
A string descripting the graphic markers.

setElementType

public void setElementType(java.lang.String type)

getElementType

public java.lang.String getElementType()

check

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

Returns:
True if check was successful, false otherwise.