Module

Perspectives.Types.ObjectGetters

#lookForRoleType

lookForRoleType :: String -> (ContextType ~~~> RoleType)

If a role with the given qualified name is available, return it as a RoleType. From the type we can find out its RoleKind, too.

#lookForUnqualifiedRoleType

lookForUnqualifiedRoleType :: String -> ContextType ~~~> RoleType

We simply require the Pattern to match the end of the string.

#lookForRoleTypeOfADT

#lookForUnqualifiedRoleTypeOfADT

lookForUnqualifiedRoleTypeOfADT :: String -> (ADT ContextType) ~~~> RoleType

We simply require the Pattern to match the end of the string.

#lookForUnqualifiedPropertyType_

lookForUnqualifiedPropertyType_ :: String -> (EnumeratedRoleType ~~~> PropertyType)

We simply require the Pattern to match the end of the string.

#lookForPropertyType

lookForPropertyType :: String -> ((ADT EnumeratedRoleType) ~~~> PropertyType)

Look for a Property on a given ADT, using a qualified name. Note: use this function to check that the property is actually defined.

#lookForUnqualifiedPropertyType

lookForUnqualifiedPropertyType :: String -> ((ADT EnumeratedRoleType) ~~~> PropertyType)

Look for a Property on a given ADT, using the postfix of a name.

#lookForProperty

lookForProperty :: (PropertyType -> Boolean) -> (ADT EnumeratedRoleType) ~~~> PropertyType

Look for a Property on a given ADT, using a criterium.

#qualifyRoleInDomain

Modules