Class AttributeOperations
- java.lang.Object
 - 
- jetbrains.mps.lang.smodel.generator.smodelAdapter.AttributeOperations
 
 
- 
public class AttributeOperations extends Object
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAttributeOperations.AttributeList 
- 
Method Summary
 
 - 
 
- 
- 
Method Detail
- 
getAttribute
public static SNode getAttribute(SNode node, IAttributeDescriptor descriptor)
 
- 
setAttribute
public static SNode setAttribute(SNode node, IAttributeDescriptor descriptor, SNode value)
 
- 
getAttributeList
public static List<SNode> getAttributeList(SNode node, IAttributeDescriptor descriptor)
 
- 
createAndSetAttrbiute
public static SNode createAndSetAttrbiute(SNode node, IAttributeDescriptor descriptor, SConcept newConcept)
 
- 
createAndAddAttribute
public static SNode createAndAddAttribute(SNode node, IAttributeDescriptor descriptor, SConcept newConceptFqname)
 
- 
getChildNodesAndAttributes
public static Iterable<SNode> getChildNodesAndAttributes(SNode parent, SContainmentLink link)
 
- 
addAttribute
public static SNode addAttribute(SNode node, IAttributeDescriptor descriptor, SNode value)
 
- 
isAttribute
public static boolean isAttribute(SNode node)
 
- 
isNodeAttribute
public static boolean isNodeAttribute(SNode node)
 
- 
isPropertyAttribute
public static boolean isPropertyAttribute(SNode node)
 
- 
isLinkAttribute
public static boolean isLinkAttribute(SNode node)
 
- 
isChildAttribute
public static boolean isChildAttribute(SNode node)
 
- 
getPropertyAttributes
public static Iterable<SNode> getPropertyAttributes(SNode node, SProperty property)
 
- 
getLinkAttributes
public static Iterable<SNode> getLinkAttributes(SNode node, SReferenceLink link)
 
- 
getChildAttributes
public static Iterable<SNode> getChildAttributes(SNode node, SContainmentLink link)
 
- 
hasPropertyAttributes
public static boolean hasPropertyAttributes(SNode node)
 
- 
hasLinkAttributes
public static boolean hasLinkAttributes(SNode node)
 
- 
hasChildAttributes
public static boolean hasChildAttributes(SNode node)
 
 - 
 
 -