createDefinitionString(buffer); nameFormString = buffer.toString();
encodeValue(description, buffer); buffer.append('\''); buffer.append(name); buffer.append(" '"); encodeValue(values[0], buffer); buffer.append('\''); encodeValue(value, buffer); buffer.append('\'');
/** * {@inheritDoc} */ @Override() public boolean equals(final Object o) { if (o == null) { return false; } if (o == this) { return true; } if (! (o instanceof NameFormDefinition)) { return false; } final NameFormDefinition d = (NameFormDefinition) o; return (oid.equals(d.oid) && structuralClass.equalsIgnoreCase(d.structuralClass) && stringsEqualIgnoreCaseOrderIndependent(names, d.names) && stringsEqualIgnoreCaseOrderIndependent(requiredAttributes, d.requiredAttributes) && stringsEqualIgnoreCaseOrderIndependent(optionalAttributes, d.optionalAttributes) && bothNullOrEqualIgnoreCase(description, d.description) && (isObsolete == d.isObsolete) && extensionsEqual(extensions, d.extensions)); }
int pos = skipSpaces(nameFormString, 1, length); pos = readOID(nameFormString, pos, length, buffer); oid = buffer.toString(); pos = skipSpaces(nameFormString, pos, length); pos = skipSpaces(nameFormString, pos, length); pos = readQDStrings(nameFormString, pos, length, nameList); pos = skipSpaces(nameFormString, pos, length); pos = readQDString(nameFormString, pos, length, buffer); descr = buffer.toString(); pos = skipSpaces(nameFormString, pos, length); pos = readOID(nameFormString, pos, length, buffer); oc = buffer.toString(); pos = skipSpaces(nameFormString, pos, length); pos = readOIDs(nameFormString, pos, length, reqAttrs); pos = skipSpaces(nameFormString, pos, length); pos = readOIDs(nameFormString, pos, length, optAttrs); pos = skipSpaces(nameFormString, pos, length); pos = readQDStrings(nameFormString, pos, length, valueList);
final NameFormDefinition nf = new NameFormDefinition(def); s.add(nf); mOC.put(toLowerCase(nf.getStructuralClass()), nf); mN.put(toLowerCase(nf.getOID()), nf); for (final String name : nf.getNames())
int pos = skipSpaces(nameFormString, 1, length); pos = readOID(nameFormString, pos, length, buffer); oid = buffer.toString(); pos = skipSpaces(nameFormString, pos, length); pos = skipSpaces(nameFormString, pos, length); pos = readQDStrings(nameFormString, pos, length, nameList); pos = skipSpaces(nameFormString, pos, length); pos = readQDString(nameFormString, pos, length, buffer); descr = buffer.toString(); pos = skipSpaces(nameFormString, pos, length); pos = readOID(nameFormString, pos, length, buffer); oc = buffer.toString(); pos = skipSpaces(nameFormString, pos, length); pos = readOIDs(nameFormString, pos, length, reqAttrs); pos = skipSpaces(nameFormString, pos, length); pos = readOIDs(nameFormString, pos, length, optAttrs); pos = skipSpaces(nameFormString, pos, length); pos = readQDStrings(nameFormString, pos, length, valueList);
final NameFormDefinition nf = new NameFormDefinition(def); s.add(nf); mOC.put(toLowerCase(nf.getStructuralClass()), nf); mN.put(toLowerCase(nf.getOID()), nf); for (final String name : nf.getNames())
/** * {@inheritDoc} */ @Override() public boolean equals(final Object o) { if (o == null) { return false; } if (o == this) { return true; } if (! (o instanceof NameFormDefinition)) { return false; } final NameFormDefinition d = (NameFormDefinition) o; return (oid.equals(d.oid) && structuralClass.equalsIgnoreCase(d.structuralClass) && stringsEqualIgnoreCaseOrderIndependent(names, d.names) && stringsEqualIgnoreCaseOrderIndependent(requiredAttributes, d.requiredAttributes) && stringsEqualIgnoreCaseOrderIndependent(optionalAttributes, d.optionalAttributes) && bothNullOrEqualIgnoreCase(description, d.description) && (isObsolete == d.isObsolete) && extensionsEqual(extensions, d.extensions)); }
createDefinitionString(buffer); nameFormString = buffer.toString();
encodeValue(description, buffer); buffer.append('\''); buffer.append(name); buffer.append(" '"); encodeValue(values[0], buffer); buffer.append('\''); encodeValue(value, buffer); buffer.append('\'');