Download GME 2000 User`s Manual

Transcript
roleName: filters collection of fco’s by role
fco.setParts( | roleName:string)
: collection of fco's
Returns all child sets of the caller.
roleName: filters collection of fco’s by role
fco.memberOfSets( | kindName:string)
: collection of fco's
Returns the collection of sets that include the caller as a member.
roleName: filters collection of fco’s by kind
fco.subTypes()
: collection of fco's
Returns all fco’s that are subtypes of the caller.
fco.instances()
: collection of fco's
Returns all fco’s that are instances of the caller.
fco.type()
: fco
Returns the parent fco of the caller in the type hierarchy.
fco.baseType()
: fco
Returns the base fco of the caller in the type hierarchy.
fco.isType()
: boolean
Returns true if the caller is a type, false if the caller is an instance.
fco.isInstance()
: boolean
Returns true if the caller is an instance, false if the caller is a type.
fco.folder()
: fdr
Returns the folder that contains the caller in the object hierarchy.
fco.attribute(attributeName : string)
: string
: int
: boolean
Returns the value of the attribute named attributeName associated with the calling
object.
cpt.role()
: string
Returns a string representation of the role of the calling connection point.
cpt.target()
: fco
Returns the fco with which the calling connection point is associated.
cpt.references()
: collection of fco's
Returns the collection of fco’s that reference the caller.
cpt.owner()
: fco
Returns the owning connection of the calling connection point.
fdr.folders()
: collection of fdr's
Returns all descendant folders of the calling folder (recursive).
fdr.childFolders()
: collection of fdr's
Returns all child folders of the calling folder.
Generic Modeling Environment User's Manual
Appendix B - MCL • 73