Package org.dmd.dms.generated.types

Examples of org.dmd.dms.generated.types.DmcTypeClassDefinitionREFSV


     */
    // org.dmd.dms.util.GenUtility.formatSV(GenUtility.java:699)
    public void setSourceObjectClass(ClassDefinitionDMO value) {
        DmcAttribute<?> attr = get(DmpDMSAG.__sourceObjectClass);
        if (attr == null)
            attr = new DmcTypeClassDefinitionREFSV(DmpDMSAG.__sourceObjectClass);
        else
            ((DmcTypeClassDefinitionREFSV)attr).removeBackReferences();
       
        try{
            attr.set(value);
View Full Code Here


     * Sets sourceObjectClass to the specified value.
     * @param value A value compatible with DmcTypeClassDefinitionREFSV
     */
    // org.dmd.dms.util.GenUtility.formatSV(GenUtility.java:867)
    public void setSourceObjectClass(Object value) throws DmcValueException {
        DmcTypeClassDefinitionREFSV attr  = (DmcTypeClassDefinitionREFSV) get(DmpDMSAG.__sourceObjectClass);
        if (attr == null)
            attr = new DmcTypeClassDefinitionREFSV(DmpDMSAG.__sourceObjectClass);
        else
            attr.removeBackReferences();
       
        attr.set(value);
        set(DmpDMSAG.__sourceObjectClass,attr);
    }
View Full Code Here

         rem(MvwDMSAG.__bindingName);
    }

    // org.dmd.dms.util.GenUtility.formatSV(GenUtility.java:645)
    public ClassDefinitionREF getEditObject(){
        DmcTypeClassDefinitionREFSV attr = (DmcTypeClassDefinitionREFSV) get(MvwDMSAG.__editObject);
        if (attr == null)
            return(null);

        if (DmcOmni.instance().lazyResolution()){
            if (attr.doLazyResolution(this)){
                rem(attr.getAttributeInfo());
                return(null);
            }
        }

        return(attr.getSV());
    }
View Full Code Here

    /**
     * Returns the reference to ClassDefinition without attempting lazy resolution (if turned on).
     */
    public ClassDefinitionREF getEditObjectREF(){
        DmcTypeClassDefinitionREFSV attr = (DmcTypeClassDefinitionREFSV) get(MvwDMSAG.__editObject);
        if (attr == null)
            return(null);

        return(attr.getSV());
    }
View Full Code Here

     */
    // org.dmd.dms.util.GenUtility.formatSV(GenUtility.java:699)
    public void setEditObject(ClassDefinitionDMO value) {
        DmcAttribute<?> attr = get(MvwDMSAG.__editObject);
        if (attr == null)
            attr = new DmcTypeClassDefinitionREFSV(MvwDMSAG.__editObject);
        else
            ((DmcTypeClassDefinitionREFSV)attr).removeBackReferences();
       
        try{
            attr.set(value);
View Full Code Here

     * Sets editObject to the specified value.
     * @param value A value compatible with DmcTypeClassDefinitionREFSV
     */
    // org.dmd.dms.util.GenUtility.formatSV(GenUtility.java:867)
    public void setEditObject(Object value) throws DmcValueException {
        DmcTypeClassDefinitionREFSV attr  = (DmcTypeClassDefinitionREFSV) get(MvwDMSAG.__editObject);
        if (attr == null)
            attr = new DmcTypeClassDefinitionREFSV(MvwDMSAG.__editObject);
        else
            attr.removeBackReferences();
       
        attr.set(value);
        set(MvwDMSAG.__editObject,attr);
    }
View Full Code Here

      Iterator<ExtendedReferenceTypeDefinition> ertdl = sd.getExtendedReferenceTypeDefList();
      if (ertdl != null){
        while(ertdl.hasNext()){
          ExtendedReferenceTypeDefinition ertd = ertdl.next();
         
              DmcTypeClassDefinitionREFSV attr = (DmcTypeClassDefinitionREFSV) ertd.getDMO().get(MetaDMSAG.__extendedReferenceClass);
          if (attr == null){
          ResultException ex = new ResultException();
          ex.addError("Missing extendedReferenceClass for ExtendedReferenceTypeDefinition: " + ertd.getName());
          ex.result.lastResult().fileName(ertd.getFile());
          ex.result.lastResult().lineNumber(ertd.getLineNumber());
          throw(ex);           
          }
         
          try {
          attr.resolveReferences(this);
        } catch (DmcValueException e) {
          ResultException ex = new ResultException();
          ex.addError("Unknown class referred to by extendedReferenceClass: " + attr.getSV().getObjectName().getNameString());
          ex.result.lastResult().fileName(ertd.getFile());
          ex.result.lastResult().lineNumber(ertd.getLineNumber());
          throw(ex);
        }
       
View Full Code Here

      out.write("      </a>\n");
      out.write("      </td>\n");
     
      out.write("    </tr>\n");
     
      DmcTypeClassDefinitionREFSV   applyToClass   = (DmcTypeClassDefinitionREFSV) ruleDMO.get(MetaDMSAG.__applyToClass);
      DmcTypeAttributeDefinitionREFSV  applyToAttr   = (DmcTypeAttributeDefinitionREFSV) ruleDMO.get(MetaDMSAG.__applyToAttribute);
      DmcTypeStringSV          description   = (DmcTypeStringSV) ruleDMO.get(MetaDMSAG.__description);
     
      if (applyToClass != null){
        out.write("    <tr>\n");
        out.write("      <td class=\"spacer\"> </td>\n");
        out.write("      <td class=\"spacer\"> </td>\n");
        out.write("      <td> Apply to class: </td>\n");
        out.write("      <td> " + applyToClass.getSV().getObjectName() + " </td>\n");
        out.write("    </tr>\n");
      }
     
      if (applyToAttr != null){
        out.write("    <tr>\n");
View Full Code Here

TOP

Related Classes of org.dmd.dms.generated.types.DmcTypeClassDefinitionREFSV

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.