/** * Starts the construction of an {@link PropertyDocument} from the existing * document. * * @param initialDocument * the existing document to start the build from * @return builder object to continue construction */ public static PropertyDocumentBuilder fromPropertyDocument( PropertyDocument initialDocument) { return new PropertyDocumentBuilder(initialDocument); }
/** * Starts the construction of an {@link PropertyDocument} from the existing * document. * * @param initialDocument * the existing document to start the build from * @return builder object to continue construction */ public static PropertyDocumentBuilder fromPropertyDocument( PropertyDocument initialDocument) { return new PropertyDocumentBuilder(initialDocument); }
/** * Starts the construction of an {@link PropertyDocument} with the given id. * * @param propertyIdValue * id of the newly constructed property document * @param datatype * the datatype of the newly constructed property document * @return builder object to continue construction */ public static PropertyDocumentBuilder forPropertyIdAndDatatype( PropertyIdValue propertyIdValue, DatatypeIdValue datatype) { return new PropertyDocumentBuilder(propertyIdValue, datatype); }
/** * Starts the construction of an {@link PropertyDocument} with the given id. * * @param propertyIdValue * id of the newly constructed property document * @param datatype * the datatype of the newly constructed property document * @return builder object to continue construction */ public static PropertyDocumentBuilder forPropertyIdAndDatatype( PropertyIdValue propertyIdValue, DatatypeIdValue datatype) { return new PropertyDocumentBuilder(propertyIdValue, datatype); }