Package org.datanucleus.properties

Examples of org.datanucleus.properties.CorePropertyValidator


     * @param type Transaction type
     */
    public void setTransactionType(String type)
    {
        assertConfigurable();
        boolean validated = new CorePropertyValidator().validate("datanucleus.TransactionType", type);
        if (validated)
        {
            getConfiguration().setProperty("datanucleus.TransactionType", type);
        }
        else
View Full Code Here


     * @param id Timezone Id to use
     */
    public void setServerTimeZoneID(String id)
    {
        assertConfigurable();
        boolean validated = new CorePropertyValidator().validate("datanucleus.ServerTimeZoneID", id);
        if (validated)
        {
            getConfiguration().setProperty("datanucleus.ServerTimeZoneID", id);
        }
        else
View Full Code Here

     * @param type Transaction type
     */
    public synchronized void setTransactionType(String type)
    {
        assertConfigurable();
        boolean validated = new CorePropertyValidator().validate("datanucleus.TransactionType", type);
        if (validated)
        {
            setProperty("datanucleus.TransactionType", type);
        }
        else
View Full Code Here

     * If not set assumes that it is running in the same timezone as this JVM.
     * @param id Timezone Id to use
     */
    public void setServerTimeZoneID(String id)
    {
        boolean validated = new CorePropertyValidator().validate("datanucleus.ServerTimeZoneID", id);
        if (validated)
        {
            setProperty("datanucleus.ServerTimeZoneID", id);
        }
        else
View Full Code Here

TOP

Related Classes of org.datanucleus.properties.CorePropertyValidator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.