/** * Returns an IDREF instance representing the specified String value * * @param stringValue a String value * @throws IllegalArgumentException if the given argument is not a valid IDREF * @return return an IDREF instance representing stringValue */ public static IDREF valueOf(String stringValue) throws IllegalArgumentException { return new IDREF(stringValue); }
/** * Returns an IDREF instance representing the specified String value * * @param stringValue a String value * @throws IllegalArgumentException if the given argument is not a valid IDREF * @return return an IDREF instance representing stringValue */ public static IDREF valueOf(String stringValue) throws IllegalArgumentException { return new IDREF(stringValue); }
/** * Returns an IDREF instance representing the specified String value * * @param stringValue a String value * @throws IllegalArgumentException if the given argument is not a valid IDREF * @return return an IDREF instance representing stringValue */ public static IDREF valueOf(String stringValue) throws IllegalArgumentException { return new IDREF(stringValue); }
/** * Returns a list of IDREF from the IDREFS Object * * @return a list of IDREF */ public List<IDREF> getIDREFList() { List<IDREF> aRet = new ArrayList<IDREF>(); String[] names = mIdRefs.split(" "); for (int i = 0; i < names.length; i++) { aRet.add(new IDREF(names[i])); } return aRet; }
/** * Returns a list of IDREF from the IDREFS Object * * @return a list of IDREF */ public List<IDREF> getIDREFList() { List<IDREF> aRet = new ArrayList<IDREF>(); String[] names = mIdRefs.split(" "); for (int i = 0; i < names.length; i++) { aRet.add(new IDREF(names[i])); } return aRet; }
/** * Returns a list of IDREF from the IDREFS Object * * @return a list of IDREF */ public List<IDREF> getIDREFList() { List<IDREF> aRet = new ArrayList<IDREF>(); String[] names = mIdRefs.split(" "); for (int i = 0; i < names.length; i++) { aRet.add(new IDREF(names[i])); } return aRet; }
/** * Returns an IDREFS instance representing the specified String value * * @param stringValue * a String value * @return return an IDREFS instance representing stringValue * @throws IllegalArgumentException if the given argument is not a valid IDREFS */ public static IDREFS valueOf(String stringValue) throws IllegalArgumentException { if ((stringValue == null) || (stringValue.length() == 0)) { throw new IllegalArgumentException( "parameter is invalid for datatype IDREFS"); } List<IDREF> aRet = new ArrayList<IDREF>(); String[] names = stringValue.split(" "); for (int i = 0; i < names.length; i++) { aRet.add(new IDREF(names[i])); } return new IDREFS(aRet); }
/** * Returns an IDREFS instance representing the specified String value * * @param stringValue * a String value * @return return an IDREFS instance representing stringValue * @throws IllegalArgumentException if the given argument is not a valid IDREFS */ public static IDREFS valueOf(String stringValue) throws IllegalArgumentException { if ((stringValue == null) || (stringValue.length() == 0)) { throw new IllegalArgumentException( "parameter is invalid for datatype IDREFS"); } List<IDREF> aRet = new ArrayList<IDREF>(); String[] names = stringValue.split(" "); for (int i = 0; i < names.length; i++) { aRet.add(new IDREF(names[i])); } return new IDREFS(aRet); }
/** * Returns an IDREFS instance representing the specified String value * * @param stringValue * a String value * @return return an IDREFS instance representing stringValue * @throws IllegalArgumentException if the given argument is not a valid IDREFS */ public static IDREFS valueOf(String stringValue) throws IllegalArgumentException { if ((stringValue == null) || (stringValue.length() == 0)) { throw new IllegalArgumentException( "parameter is invalid for datatype IDREFS"); } List<IDREF> aRet = new ArrayList<IDREF>(); String[] names = stringValue.split(" "); for (int i = 0; i < names.length; i++) { aRet.add(new IDREF(names[i])); } return new IDREFS(aRet); }