示例#1
0
 public static boolean isAttribute(SNode node) {
   if (node == null) {
     return false;
   }
   SContainmentLink role = node.getContainmentLink();
   if (role == null) {
     return false;
   }
   return role.equals(
       MetaAdapterFactory.getContainmentLink(
           0xceab519525ea4f22L,
           0x9b92103b95ca8c0cL,
           0x10802efe25aL,
           0x47bf8397520e5942L,
           "smodelAttribute"));
 }
 /*package*/ ChildPointer(SNode node) {
   this.node = node;
   parent = node.getParent();
   link = node.getContainmentLink();
   nextSibling = node.getNextSibling();
 }