Package org.dmd.dms.generated.types

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


    }

    public WrapperGeneratorDMO getModificationRecorder(){
        WrapperGeneratorDMO rc = new WrapperGeneratorDMO();
        rc.setName(getName());
        rc.setModifier(new DmcTypeModifierMV(MetaDMSAG.__modify));
        rc.modrec(true);
        return(rc);
    }
View Full Code Here


    }

    public ActifactGeneratorDMO getModificationRecorder(){
        ActifactGeneratorDMO rc = new ActifactGeneratorDMO();
        rc.setName(getName());
        rc.setModifier(new DmcTypeModifierMV(MetaDMSAG.__modify));
        rc.modrec(true);
        return(rc);
    }
View Full Code Here

    // Generated from: org.dmd.dmg.generators.BaseDMWGeneratorNewest.dumpWrapper(BaseDMWGeneratorNewest.java:491)
    public GenerationContext getModificationRecorder(){
        GenerationContext rc = new GenerationContext();
        rc.setGenContextName(getGenContextName());
        rc.setModifier(new DmcTypeModifierMV(MetaDMSAG.__modify));
        return(rc);
    }
View Full Code Here

        setModifier(mods);
    }

    public DmgConfigDMO getModificationRecorder(){
        DmgConfigDMO rc = new DmgConfigDMO();
        rc.setModifier(new DmcTypeModifierMV(MetaDMSAG.__modify));
        rc.modrec(true);
        return(rc);
    }
View Full Code Here

        setModifier(mods);
    }

    public SetResponseDMO getModificationRecorder(){
        SetResponseDMO rc = new SetResponseDMO();
        rc.setModifier(new DmcTypeModifierMV(MetaDMSAG.__modify));
        rc.modrec(true);
        return(rc);
    }
View Full Code Here

    // Generated from: org.dmd.dmg.generators.BaseDMWGeneratorNewest.dumpWrapper(BaseDMWGeneratorNewest.java:491)
    public MethodGenerator getModificationRecorder(){
        MethodGenerator rc = new MethodGenerator();
        rc.setName(getName());
        rc.setModifier(new DmcTypeModifierMV(MetaDMSAG.__modify));
        return(rc);
    }
View Full Code Here

    // Generated from: org.dmd.dmg.generators.BaseDMWGeneratorNewest.dumpWrapper(BaseDMWGeneratorNewest.java:491)
    public WrapperGenerator getModificationRecorder(){
        WrapperGenerator rc = new WrapperGenerator();
        rc.setName(getName());
        rc.setModifier(new DmcTypeModifierMV(MetaDMSAG.__modify));
        return(rc);
    }
View Full Code Here

    }

    public MethodGeneratorDMO getModificationRecorder(){
        MethodGeneratorDMO rc = new MethodGeneratorDMO();
        rc.setName(getName());
        rc.setModifier(new DmcTypeModifierMV(MetaDMSAG.__modify));
        rc.modrec(true);
        return(rc);
    }
View Full Code Here

        if (getModifyAttribute() == null)
          throw(new IllegalStateException("Malformed DMPEvent. Missing modify attribute for a MODIFIED event."));
       
        // Create a new modifier collection to which we'll add the persistent
        // attribute modifications.
        DmcTypeModifierMV newModifier = new DmcTypeModifierMV(MetaDMSAG.__modify);
       
        Iterator<Modifier>  modifiers = getModifyAttribute().getMV();
        if (modifiers != null){
          while(modifiers.hasNext()){
            Modifier mod = modifiers.next();
            DmcAttributeInfo ai = mod.getAttributeInfo();
            if (ai == null)
              throw(new IllegalStateException("Unknown attribute in modify: " + mod.getAttributeName()));
            if (ai.dataType == DataTypeEnum.PERSISTENT)
              newModifier.add(new Modifier(mod));
          }
         
          // If there are any PERSISTENT modifications, we'll returned an alterred clone
          if (newModifier.getMVSize() > 0){
            // There were non-persistent attributes in the modify, clone the event
            // and replace the modify with alterred modify
            rc = clone();
            rc.remModify();
            rc.getDMO().add(MetaDMSAG.__modify, newModifier);
View Full Code Here

  public DMPEvent getSlice(DmcSliceInfo dsi){
    DMPEvent rc = null;
   
    if (getEventTypeDMP() == DMPEventTypeEnum.MODIFIED){
      // Pull the modifier
      DmcTypeModifierMV source = getModifyAttribute();
     
      // Check if the modifier touches any of the attributes in the slice
      DmcTypeModifierMV sliced = getModifierSlice(dsi, source);
     
      // If we get a value back from getModifierSlice() it means that the sliced attributes were touched
      // Whether they were touched inappropriately remains to be seen!
      if (sliced != null){
        // We create a new DMPEvent which contains a shallow copy of the DMO - this is just a straight
View Full Code Here

TOP

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

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.