public OtpErlangObject[] getTuple(final String name) throws OtpErlangException {
final OtpErlangObject r = get(name);
if (r instanceof OtpErlangTuple) {
return ((OtpErlangTuple) r).elements();
}
throw new OtpErlangException("value is not a tuple");
}