| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.ashridgetech.jamda.uml.PropertyBuilder.PropertyImpl
Implementation of the Property interface returned by PropertyBuilder.getProperty().
| Constructor Summary | |
| protected  | PropertyBuilder.PropertyImpl(Property baseProperty) | 
| Method Summary | |
|  StructuredType.Aggregation | getAggregation()Get the aggregation level of this property. | 
|  Association.End | getAssociationEnd()Get the Association.Endconnected with this property, if there is one. | 
|  Attribute | getAttribute()Get the Attributeconnected with this property, if there is one. | 
|  java.lang.String | getComment()Get the comment for this item. | 
|  ModelElement | getDirectSource()Get the immediate source element of the underlying element of this property. | 
|  Operation | getGetter()Get the getter Operationconnected with this property, if there is one. | 
|  java.lang.String | getMultName()Get the nameof thisTypedItem, 
 converted to plural usingUtil.pluralize(java.lang.String)ifisMultiple()returns true. | 
|  java.lang.String | getName()Get the name of this Property. | 
|  ModelElement | getOriginalSource()Get the original source element of the underlying element of this property. | 
|  Parameter | getParameter()Get the Parameterconnected with this property, if there is one. | 
|  java.util.Set | getReaders()Get Actors who can read thisProperty | 
|  Operation | getSetter()Get the setter Operationconnected with this property, if there is one. | 
|  Type | getType()Get the type of this item. | 
|  ModelElement | getUnderlyingElement()Get the underlying element of this property. | 
|  java.util.Set | getWriters()Get Actors who can write thisProperty | 
|  boolean | isMultiple()Indicate whether this Propertycan have multiple values. | 
|  boolean | isOid()Indicate whether this property is an object identifier (OID) for a StructuredType. | 
|  boolean | isReadable()Indicate whether the value(s) of this property can be read. | 
|  boolean | isReadableBy(Actor actor)Indicate whether the value(s) of this property can be read by a given Actor. | 
|  boolean | isWritable()Indicate whether the value(s) of this property can be written. | 
|  boolean | isWritableBy(Actor actor)Indicate whether the value(s) of this property can be written by a given Actor. | 
|  java.lang.String | toString() | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
protected PropertyBuilder.PropertyImpl(Property baseProperty)
| Method Detail | 
public java.lang.String getName()
getName in interface TypedItempublic java.lang.String getMultName()
name of this TypedItem , 
 converted to plural using Util.pluralize(java.lang.String) 
 if isMultiple() returns true.
getMultName in interface TypedItempublic Type getType()
getType in interface TypedItempublic java.lang.String getComment()
getComment in interface TypedItempublic boolean isMultiple()
Property can have multiple values.
isMultiple in interface TypedItemProperty  has multiple valuespublic boolean isReadable()
isReadable in interface Propertypublic boolean isReadableBy(Actor actor)
Actor.
 This implementation does not distinguish between different actors.
isReadableBy in interface PropertyisReadable()public java.util.Set getReaders()
Actors who can read this Property
getReaders in interface PropertyActors.  May be null to indicate that ALL Actors
 can read this Property, or an empty Set to indicate that
 NO Actors can read this Propertypublic boolean isWritable()
isWritable in interface Propertypublic boolean isWritableBy(Actor actor)
Actor.
 This implementation does not distinguish between different actors.
isWritableBy in interface PropertyisWritable()public java.util.Set getWriters()
Actors who can write this Property
getWriters in interface PropertyActors.  May be null to indicate that ALL Actors
 can write this Property, or an empty Set to indicate that
 NO Actors can write this Propertypublic StructuredType.Aggregation getAggregation()
getAggregation in interface PropertyAggregation instancepublic boolean isOid()
StructuredType.
isOid in interface Propertypublic ModelElement getDirectSource()
getDirectSource in interface PropertyProperty.getUnderlyingElement(), 
Property.getOriginalSource()public ModelElement getOriginalSource()
getOriginalSource in interface PropertyProperty.getUnderlyingElement(), 
Property.getDirectSource()public ModelElement getUnderlyingElement()
getUnderlyingElement in interface PropertyProperty.getUnderlyingElement()public Operation getGetter()
Operation connected with this property, if there is one.
getGetter in interface Propertypublic Operation getSetter()
Operation connected with this property, if there is one.
getSetter in interface Propertypublic Attribute getAttribute()
Attribute connected with this property, if there is one.
getAttribute in interface PropertyAttributepublic Association.End getAssociationEnd()
Association.End connected with this property, if there is one.
getAssociationEnd in interface PropertyAttribute.Propertypublic Parameter getParameter()
Parameter connected with this property, if there is one.
getParameter in interface Propertypublic java.lang.String toString()
toString in class java.lang.Object| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||