Class ReferenceConceptUtil
- java.lang.Object
 - 
- jetbrains.mps.smodel.presentation.ReferenceConceptUtil
 
 
- 
public class ReferenceConceptUtil extends Object
Igor Alshannikov Jan 31, 2008 
- 
- 
Constructor Summary
Constructors Constructor Description ReferenceConceptUtil() 
- 
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SReferenceLinkgetCharacteristicReference(SAbstractConcept concept)static SNodegetCharacteristicReference(SNode concept)Deprecated.static StringgetPresentation(SNode node)static StringgetPresentationFromSmartAlias(SAbstractConcept concept, String referentPresentation)static StringgetPresentationFromSmartAlias(SNode concept, String referentPresentation)Deprecated.static booleanhasSmartAlias(SAbstractConcept concept)static booleanhasSmartAlias(SNode concept)Deprecated. 
 - 
 
- 
- 
Method Detail
- 
getCharacteristicReference
@Deprecated public static SNode getCharacteristicReference(SNode concept)
Deprecated.Purpose of some concepts is only to hold reference on something else. In such a concepts, the most important thing is that reference, which is called 'characteristic reference'. Concept is considered 'pure reference' if - it has alias which matches the pattern 'xxx <{_referent_role_}> yyy' (and declares reference link with this role) or - it declares declares exactly ONE reference link with cardinality 1- Parameters:
 concept- with is possibly 'pure reference' concept.- Returns:
 - characteristic reference or NULL
 
 
- 
getCharacteristicReference
public static SReferenceLink getCharacteristicReference(SAbstractConcept concept)
 
- 
hasSmartAlias
@Deprecated public static boolean hasSmartAlias(SNode concept)
Deprecated. 
- 
hasSmartAlias
public static boolean hasSmartAlias(SAbstractConcept concept)
 
- 
getPresentationFromSmartAlias
@Deprecated public static String getPresentationFromSmartAlias(SNode concept, String referentPresentation)
Deprecated. 
- 
getPresentationFromSmartAlias
public static String getPresentationFromSmartAlias(SAbstractConcept concept, String referentPresentation)
 
 - 
 
 -