public synchronized OID toSubIndex(boolean impliedLength) { updateVariable(); return variable.toSubIndex(impliedLength); }
public synchronized OID toSubIndex(boolean impliedLength) { updateVariable(); return variable.toSubIndex(impliedLength); }
public synchronized OID toSubIndex(boolean impliedLength) { updateVariable(); return variable.toSubIndex(impliedLength); }
new OID() : this.variables.getVariable(group); if (replacementValue != null) { OID oid = replacementValue.toSubIndex(impliedLength); m.appendReplacement(result, oid.toDottedString());
new OID() : this.variables.getVariable(group); if (replacementValue != null) { OID oid = replacementValue.toSubIndex(impliedLength); m.appendReplacement(result, oid.toString());
for (int i=0; i<indexValues.length; i++) { if (indexValues[i].getSyntax() == this.subindexes[i].getSmiSyntax()) { index.append(indexValues[i].toSubIndex((i + 1 == indexValues.length) && impliedLength));
/** * Creates the next sub-index OID value. * @return * a sub-index value corresponding to the seed sub-index type. */ public synchronized OID getNextSubIndex() { if (seedSubIndex instanceof Integer32) { Integer32 i = (Integer32)seedSubIndex; i.setValue(i.getValue()+1); } else if (seedSubIndex instanceof UnsignedInteger32) { UnsignedInteger32 ui = (UnsignedInteger32)seedSubIndex; ui.setValue(ui.getValue()+1); } else if (seedSubIndex instanceof Counter64) { Counter64 c = (Counter64)seedSubIndex; c.setValue(c.getValue()+1); } return seedSubIndex.toSubIndex(impliedLength); } }
/** * Creates the next sub-index OID value. * @return * a sub-index value corresponding to the seed sub-index type. */ public synchronized OID getNextSubIndex() { if (seedSubIndex instanceof Integer32) { Integer32 i = (Integer32)seedSubIndex; i.setValue(i.getValue()+1); } else if (seedSubIndex instanceof UnsignedInteger32) { UnsignedInteger32 ui = (UnsignedInteger32)seedSubIndex; ui.setValue(ui.getValue()+1); } else if (seedSubIndex instanceof Counter64) { Counter64 c = (Counter64)seedSubIndex; c.setValue(c.getValue()+1); } return seedSubIndex.toSubIndex(impliedLength); } }
MOTableSubIndex subIndex = this.subindexes[i]; if (indexValues[i].getSyntax() == subIndex.getSmiSyntax()) { index.append(indexValues[i].toSubIndex((i + 1 == indexValues.length) && impliedLength || subIndex.getMinLength() == subIndex.getMaxLength())); } else {