Package org.openntf.domino.schema

Examples of org.openntf.domino.schema.IItemDefinition


  }

  public boolean validateItem(final org.openntf.domino.Item item) throws ItemException {
    boolean result = true;
    Class<? extends IDominoType> clazz = getItemType();
    IItemDefinition definition = getDefinition();
    IDatabaseSchema schema = definition.getParent();

    IDominoType type = schema.getTypeDefinition(clazz);
    type.validateItem(item);
    return result;
  }
View Full Code Here


    Document result = db.createDocument();
    result.replaceItemValue("$$SchemaType", doctype);
    result.replaceItemValue("form", def.getName());
    Map<String, IItemDefinition> itemDefs = def.getItemDefinitions();
    for (String key : itemDefs.keySet()) {
      IItemDefinition itemDef = itemDefs.get(key);
      Item item = itemDef.createDefaultItem(result, def);
    }

    return result;
  }
View Full Code Here

      return true;

    boolean result = true;
    Map<String, IItemDefinition> itemDefs = def.getItemDefinitions();
    for (String key : itemDefs.keySet()) {
      IItemDefinition itemDef = itemDefs.get(key);
      // TODO NTF
    }

    return result;
  }
View Full Code Here

TOP

Related Classes of org.openntf.domino.schema.IItemDefinition

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.