Did I find the right examples for you? yes no

All Samples(10)  |  Call(8)  |  Derive(0)  |  Import(2)

        def isprofilemember(node):
    while True:
        if node is None:
            return False
        
        if XMI2_1.is_profile(node.__name__):
            return True
            
        node = node.__parent__
    return False
        


src/a/g/agx.generator.uml-1.0a1/src/agx/generator/uml/hierarchy.py   agx.generator.uml(Download)
from agx.transform.xmi2uml.flavours import XMI2_1
from configure import registerXMIScope
from util import (
    isprofilemember,
    assignxmiprops,
    # XXX: discuss, if datatypes of profile are ignored, they are not available
    #      in UML representation.
    if isprofilemember(source):
        return
    datatype = Datatype()
def association(self, source, target):
    """Create associations.
    """
    if isprofilemember(source):
        return

src/a/g/agx.generator.uml-1.0a1/src/agx/generator/uml/datatypedependent.py   agx.generator.uml(Download)
    registerXMIScope,
)
from util import (
    isprofilemember,
    assignxmiprops,
def property(self, source, target):
    """Create property.
    """
    if isprofilemember(source):
        return
def ownedend(self, source, target):
    """Create owned end.
    """
    if isprofilemember(source):
        return
def memberend(self, source, target):
    """Create member end.
    """
    if isprofilemember(source):
        return
def dependency(self, source, target):
    if isprofilemember(source):
        return
    tok = token('sourcetotargetuuidmapping', False)
    supplier_source = source.refindex[source.attributes['supplier']]