Package org.dmd.dmc

Examples of org.dmd.dmc.DmcNamedObjectIF


        return(varName);
    }

    @SuppressWarnings({"unchecked", "rawtypes"})
    public void resolve(DmcNameResolverIF resolver, String attrName) throws DmcValueException {
        DmcNamedObjectIF  obj = null;

        obj = resolver.findNamedObject(dataClass.getObjectName());
        if (obj == null)
            throw(new DmcValueException("Could not resolve reference to: " + dataClass.getObjectName() + " via attribute: " + attrName));
       
View Full Code Here


    return(keyMap.get(nameKey));
  }

  @Override
  public DmcNamedObjectIF findNamedObject(DmcObjectName name) {
    DmcNamedObjectIF rc = schema.findNamedObject(name);
   
    if (rc == null)
      return(keyMap.get(name));
   
    return(rc);
View Full Code Here

   * @throws ResultException
   * @throws DmcValueException
   */
  @SuppressWarnings({ "unchecked", "rawtypes" })
  DmcNamedObjectIF resolve(SchemaManager sm, DmcNameResolverIF rx, AttributeDefinition ad, DmcNamedObjectREF obj) throws DmcValueException{
    DmcNamedObjectIF resolved = (DmcNamedObjectIF) sm.findNamedObject(obj.getObjectName());
     
    if (resolved == null){
      // Couldn't find it in the schema, try the alternate resolver if we have it
      if (rx != null)
        resolved = (DmcNamedObjectIF) rx.findNamedObject(obj.getObjectName());
View Full Code Here

   * @throws ResultException
   * @throws DmcValueException
   */
  @SuppressWarnings({ "unchecked", "rawtypes" })
  DmcNamedObjectIF resolve(SchemaManager sm, DmcNameResolverIF rx, AttributeDefinition ad, DmcNamedObjectREF obj) throws DmcValueException{
    DmcNamedObjectIF resolved = (DmcNamedObjectIF) sm.findNamedObject(obj.getObjectName());
     
    if (resolved == null){
      // Couldn't find it in the schema, try the alternate resolver if we have it
      if (rx != null)
        resolved = (DmcNamedObjectIF) rx.findNamedObject(obj.getObjectName());
View Full Code Here

    return(rc);
  }

  @Override
  public DmcNamedObjectIF findNamedObject(DmcObjectName name) {
    DmcNamedObjectIF rc = theCache.get(name);
   
    // If we can't find the object in the cache, fall back to the schema
    if (rc == null)
      rc = DmwOmni.instance().findNamedObject(name);
   
View Full Code Here

TOP

Related Classes of org.dmd.dmc.DmcNamedObjectIF

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.