public class TagProperty extends java.util.AbstractSet<java.lang.Object> implements java.io.Serializable, java.lang.Comparable<TagProperty>
Constructor and Description |
---|
TagProperty(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element,
com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype stereotype)
Create tag property for element.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(TagProperty o)
Compares this object with the specified object for order.
|
java.lang.Object |
get(java.lang.String propertyName)
Return List of value response with given property name.
|
java.lang.String |
getName()
Return stereotype name of this tag.
|
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property |
getProperty(java.lang.String propertyName)
Return Property element for this tag and property name.
|
com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype |
getStereotype()
Return a stereotype of this tag property.
|
java.util.Iterator<java.lang.Object> |
iterator()
Returns an iterator over the elements contained in this collection.
|
int |
size()
Returns the number of elements in this collection.
|
add, addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public TagProperty(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype stereotype)
element
- Elementstereotype
- Stereotypepublic com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getProperty(java.lang.String propertyName)
propertyName
- property namepublic java.lang.String getName()
public com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype getStereotype()
public java.lang.Object get(java.lang.String propertyName)
propertyName
- property namepublic java.util.Iterator<java.lang.Object> iterator()
iterator
in interface java.lang.Iterable<java.lang.Object>
iterator
in interface java.util.Collection<java.lang.Object>
iterator
in interface java.util.Set<java.lang.Object>
iterator
in class java.util.AbstractCollection<java.lang.Object>
public int size()
size
in interface java.util.Collection<java.lang.Object>
size
in interface java.util.Set<java.lang.Object>
size
in class java.util.AbstractCollection<java.lang.Object>
public int compareTo(TagProperty o)
compareTo
in interface java.lang.Comparable<TagProperty>
o
- the Object to be compared.