Package modTransf.model

Examples of modTransf.model.NotFoundException


      {
        return (RefObject)attribute.refGetValue("type");
      }
    }

    throw new NotFoundException("No property '" + propertyName + "' in '" + descriptor.getClass().getName() + "'.");
  }
View Full Code Here


      return;

    // Get the enum type
    String[] proptype = getEnumType( bean, property);
    if( proptype == null )
      throw new NotFoundException("Not an enumeration.");

    String enumTypeName = (String)proptype[proptype.length-1];
    RefPackage pack = getRefPackageByType( proptype );
    RefEnum enumValue = null;
    // next one throw InvalidNameException
View Full Code Here

   public ModelFactory getModelFactory(String mmUri)
     throws NotFoundException
   {
   ModelFactory helper = (ModelFactory)helpers.get(mmUri);
   if(helper==null)
     throw new NotFoundException("No registered metamodel helper found for '" + mmUri + "'.");

    return helper;
   }
View Full Code Here

  {
    // Check if there is a registered property.
    PropertyDescriptor desc = getPropertyExtension(bean, name);
    if(desc==null)
    {
      throw new NotFoundException("No registered extension for property ('"
                                  +name+"', '"+bean.getClass().getName()
                                  +"').");
    }

    // Get the value.
View Full Code Here

  {
    // Check if there is a registered property.
    PropertyDescriptor desc = getPropertyExtension(bean, name);
    if(desc==null)
    {
      throw new NotFoundException("No registered extension for property ('"
                                  +name+"', '"+bean.getClass().getName()
                                  +"').");
    }
    // Set the value.
      desc.set(bean, value);
View Full Code Here

      {
        return tag.refGetValue("dataValue");
      }
    } // end loop

    throw new NotFoundException("Can't find tagValue '"+attributeName+"', '"
                                +stereotype+"'.");
  }
View Full Code Here

TOP

Related Classes of modTransf.model.NotFoundException

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.