net.sf.quarrel.file
Interface FileElement

All Known Implementing Classes:
ElementImpl

public interface FileElement

Represents a part of UML model, as read from the file. Derived from the String encapsulated in ElementText.

See Also:
ElementParsingService

Method Summary
 ElementType getElementType()
          Returns the type of the element
 java.util.Collection getFeatures(FeatureType type)
          Returns a collection (copy) of String objects listing the set of features of the type specified.
 java.lang.String getName()
          Returns the name of the element.
 

Method Detail

getName

public java.lang.String getName()
Returns the name of the element.

Returns:

getElementType

public ElementType getElementType()
Returns the type of the element

Returns:

getFeatures

public java.util.Collection getFeatures(FeatureType type)
Returns a collection (copy) of String objects listing the set of features of the type specified. Will be an empty list if there are no instances of the feature type.

Parameters:
type -
Returns:
Throws:
java.lang.IllegalArgumentException - if an unsupport FeatureType is specified


Copyright © 2006-2007. All Rights Reserved.