com.ashridgetech.jamda.uml
Interface TypedItem

All Known Subinterfaces:
Property
All Known Implementing Classes:
Association.End.PropertyImpl, Attribute.PropertyImpl, Parameter, PropertyBuilder.PropertyImpl, StructuredType.PropertyImpl

public interface TypedItem

Interface for items which have a certain Type. Includes Attribute and Parameter.

Version:
1.0
Author:
paulb

Method Summary
 java.lang.String getComment()
          Get the comment for this item.
 java.lang.String getMultName()
          Get the name of this TypedItem , converted to plural if isMultiple() returns true.
 java.lang.String getName()
          Get the name of this item.
 Type getType()
          Get the type of this item.
 boolean isMultiple()
          Indicate whether this item can have multiple values.
 

Method Detail

getName

public java.lang.String getName()
Get the name of this item.

Returns:
the name

getMultName

public java.lang.String getMultName()
Get the name of this TypedItem , converted to plural if isMultiple() returns true.

Returns:
the singular or plural name

getType

public Type getType()
Get the type of this item.

Returns:
the type

getComment

public java.lang.String getComment()
Get the comment for this item.

Returns:
the comment

isMultiple

public boolean isMultiple()
Indicate whether this item can have multiple values.

Returns:
true if multiple values are possible


Copyright © 2003 Ashridge Technologies Ltd. All Rights Reserved.