public String toString() { StringWriter writer = new StringWriter(); writer.write(Helper.getShortClassName(getClass())); writer.write("("); writer.write(getValue().toString()); writer.write(")"); return writer.toString(); }
/** * OBSOLETE: Return the name of the field holding the sequence name. * * @deprecated use ((SDKSequence)getDefaultSequence()).getNameFieldName() instead */ public String getSequenceNameFieldName() { if (getDefaultSequence() instanceof SDKSequence) { return ((SDKSequence) getDefaultSequence()).getNameFieldName(); } else { throw ValidationException.wrongSequenceType( Helper.getShortClassName(getDefaultSequence()), "getNameFieldName"); } }
/** * OBSOLETE: Set the name of the field holding the sequence name. * * @deprecated use ((SDKSequence)getDefaultSequence()).setNameFieldName() instead */ public void setSequenceNameFieldName(String sequenceNameFieldName) { if (getDefaultSequence() instanceof SDKSequence) { ((SDKSequence) getDefaultSequence()).setNameFieldName(sequenceNameFieldName); } else if (!sequenceNameFieldName.equals((new SDKSequence()).getNameFieldName())) { throw ValidationException.wrongSequenceType( Helper.getShortClassName(getDefaultSequence()), "setNameFieldName"); } }
public String toString() { return Helper.getShortClassName(getClass()) + "(" + getFullName() + ")"; }