Package au.net.causal.projo.bind

Examples of au.net.causal.projo.bind.EntityMetadataException


    if (type == null)
      throw new NullPointerException("type == null");
   
    SettingsEntityMetadata metadata = metadataReader.read(type);
    if (metadata == null)
      throw new EntityMetadataException("Not a Projo: " + type.getCanonicalName());
   
    PreferenceNode nodeToUse = nodeToUseForMetadata(metadata);
   
    return(readInternal(type, metadata, nodeToUse));
  }
View Full Code Here


    if (projo == null)
      throw new NullPointerException("projo == null");
   
    SettingsEntityMetadata metadata = metadataReader.read(projo.getClass());
    if (metadata == null)
      throw new EntityMetadataException("Not a Projo: " + projo.getClass().getCanonicalName());
   
    PreferenceNode nodeToUse = nodeToUseForMetadata(metadata);
   
    return(readInternal(projo, metadata, nodeToUse));
  }
View Full Code Here

  public void save(Object projo)
  throws PreferencesException, EntityMetadataException
  {
    SettingsEntityMetadata metadata = metadataReader.read(projo.getClass());
    if (metadata == null)
      throw new EntityMetadataException("Not a Projo: " + projo.getClass().getCanonicalName());
   
    PreferenceNode nodeToUse = nodeToUseForMetadata(metadata);
   
    saveInternal(projo, metadata, nodeToUse);
  }
View Full Code Here

    if (projo == null)
      throw new NullPointerException("projo == null");
   
    SettingsEntityMetadata metadata = metadataReader.read(projo.getClass());
    if (metadata == null)
      throw new EntityMetadataException("Not a Projo: " + projo.getClass().getCanonicalName());
   
    PreferenceNode nodeToUse = nodeToUseForMetadata(metadata);
   
    removeInternal(projo, projo.getClass(), metadata, nodeToUse, false);
  }
View Full Code Here

    if (projoType == null)
      throw new NullPointerException("projoType == null");

    SettingsEntityMetadata metadata = metadataReader.read(projoType);
    if (metadata == null)
      throw new EntityMetadataException("Not a Projo: " + projoType.getCanonicalName());
   
    PreferenceNode nodeToUse = nodeToUseForMetadata(metadata);
   
    removeInternal(null, projoType, metadata, nodeToUse, false);
  }
View Full Code Here

TOP

Related Classes of au.net.causal.projo.bind.EntityMetadataException

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.