public class Set extends MetricEntry
attributes, description, id, location, name, procedureName
Constructor and Description |
---|
Set(java.lang.String name,
MetaModelElement type)
Creates a new set definition.
|
Modifier and Type | Method and Description |
---|---|
MetaModelElement |
getType()
Retrieves the type of elements for which the set is defined.
|
boolean |
isMultiSet()
Checks if this entry defines a regular set or a multiset.
|
java.lang.String |
toString()
Returns a string representation of the set.
|
getAttributes, getBriefDescription, getFullDescription, getLocation, getName, getProcedureName
public Set(java.lang.String name, MetaModelElement type)
name
- Name of the set.type
- Metamodel element type of the elements for which this set is
defined.public MetaModelElement getType()
public boolean isMultiSet()
true
if set defines a multiset.public java.lang.String toString()
toString
in class java.lang.Object