/** * INTERNAL * Get the string representation of this node. */ public String getAsString() { return getAttributeName(); } }
/** * INTERNAL * Get the string representation of this node. */ public String getAsString() { return getAttributeName(); } }
/** * INTERNAL * Get the string representation of this node. */ public String getAsString() { return getAttributeName(); } }
/** * INTERNAL * Answer the name of the attribute which is represented by the receiver's * right node. */ public String resolveAttribute() { return ((AttributeNode)getRight()).getAttributeName(); }
/** * INTERNAL * Answer the name of the attribute which is represented by the receiver's * right node. */ public String resolveAttribute() { return ((AttributeNode)getRight()).getAttributeName(); }
/** * INTERNAL * Answer the name of the attribute which is represented by the receiver's * right node. */ public String resolveAttribute() { return ((AttributeNode)getRight()).getAttributeName(); }
public String toString(int indent) { StringBuilder buffer = new StringBuilder(); toStringIndent(indent, buffer); buffer.append(toStringDisplayName() + "[" + getAttributeName() + "]"); return buffer.toString(); }
public String toString(int indent) { StringBuilder buffer = new StringBuilder(); toStringIndent(indent, buffer); buffer.append(toStringDisplayName() + "[" + getAttributeName() + "]"); return buffer.toString(); }
public String toString(int indent) { StringBuffer buffer = new StringBuffer(); toStringIndent(indent, buffer); buffer.append(toStringDisplayName() + "[" + getAttributeName() + "]"); return buffer.toString(); }
/** * resolveMapping: Answer the mapping which corresponds to my variableName. */ public DatabaseMapping resolveMapping(GenerationContext context, Class ownerClass) { ClassDescriptor descriptor = context.getSession().getDescriptor(ownerClass); return (descriptor==null) ? null : descriptor.getMappingForAttributeName(getAttributeName()); }
/** * resolveMapping: Answer the mapping which corresponds to my variableName. */ public DatabaseMapping resolveMapping(GenerationContext context, Class ownerClass) { ClassDescriptor descriptor = context.getSession().getDescriptor(ownerClass); return (descriptor==null) ? null : descriptor.getObjectBuilder().getMappingForAttributeName(getAttributeName()); }
/** * resolveMapping: Answer the mapping which corresponds to my variableName. */ public DatabaseMapping resolveMapping(GenerationContext context, Class ownerClass) { ClassDescriptor descriptor = context.getSession().getDescriptor(ownerClass); return (descriptor==null) ? null : descriptor.getObjectBuilder().getMappingForAttributeName(getAttributeName()); }
public Object getTypeForMapKey(ParseTreeContext context){ Object type = null; String name = ((AttributeNode)right).getAttributeName(); Node leftMost = getLeftMostNode(); if (isDeclaredVariable(leftMost, context)) { type = context.getTypeHelper().resolveMapKey(left.getType(), name); } return type; } /**
public Object getTypeForMapKey(ParseTreeContext context){ Object type = null; String name = ((AttributeNode)right).getAttributeName(); Node leftMost = getLeftMostNode(); if (isDeclaredVariable(leftMost, context)) { type = context.getTypeHelper().resolveMapKey(left.getType(), name); } return type; } /**
public Object getTypeForMapKey(ParseTreeContext context){ Object type = null; String name = ((AttributeNode)right).getAttributeName(); Node leftMost = getLeftMostNode(); if (isDeclaredVariable(leftMost, context)) { type = context.getTypeHelper().resolveMapKey(left.getType(), name); } return type; } /**
private boolean selectingRelationshipField(Node node, GenerationContext context) { if ((node == null) || !node.isDotNode()) { return false; } TypeHelper typeHelper = context.getParseTreeContext().getTypeHelper(); Node path = node.getLeft(); AttributeNode attribute = (AttributeNode)node.getRight(); return typeHelper.isRelationship(path.getType(), attribute.getAttributeName()); }
/** * INTERNAL */ private boolean selectingRelationshipField(Node node, GenerationContext context) { if ((node == null) || !node.isDotNode()) { return false; } TypeHelper typeHelper = context.getParseTreeContext().getTypeHelper(); Node path = node.getLeft(); AttributeNode attribute = (AttributeNode)node.getRight(); return typeHelper.isRelationship(path.getType(), attribute.getAttributeName()); }
private boolean selectingRelationshipField(Node node, GenerationContext context) { if ((node == null) || !node.isDotNode()) { return false; } TypeHelper typeHelper = context.getParseTreeContext().getTypeHelper(); Node path = node.getLeft(); AttributeNode attribute = (AttributeNode)node.getRight(); return typeHelper.isRelationship(path.getType(), attribute.getAttributeName()); }
private boolean selectingRelationshipField(Node node, GenerationContext context) { if ((node == null) || !node.isDotNode()) { return false; } TypeHelper typeHelper = context.getParseTreeContext().getTypeHelper(); Node path = node.getLeft(); AttributeNode attribute = (AttributeNode)node.getRight(); return typeHelper.isRelationship(path.getType(), attribute.getAttributeName()); }
/** * INTERNAL */ private boolean selectingRelationshipField(Node node, GenerationContext context) { if ((node == null) || !node.isDotNode()) { return false; } TypeHelper typeHelper = context.getParseTreeContext().getTypeHelper(); Node path = node.getLeft(); AttributeNode attribute = (AttributeNode)node.getRight(); return typeHelper.isRelationship(path.getType(), attribute.getAttributeName()); }