コード例 #1
0
  // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1245)
  public DmcAttribute<?> addMvNamedObj(Object value) throws DmcValueException {
    DmcAttribute<?> attr = get(DmtDMSAG.__mvNamedObj);
    if (attr == null) attr = new DmcTypeObjWithRefsREFMV(DmtDMSAG.__mvNamedObj);

    setLastValue(attr.add(value));
    add(DmtDMSAG.__mvNamedObj, attr);
    return (attr);
  }
コード例 #2
0
  // org.dmd.dms.util.GenUtility.formatMAPPED(GenUtility.java:1510)
  public DmcAttribute<?> addObjRefHM(Object value) throws DmcValueException {
    DmcAttribute<?> attr = get(DmtDMSAG.__objRefHM);
    if (attr == null) attr = new DmcTypeObjWithRefsREFMAP(DmtDMSAG.__objRefHM);

    setLastValue(attr.add(value));
    add(DmtDMSAG.__objRefHM, attr);
    return (attr);
  }
コード例 #3
0
  // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1245)
  public DmcAttribute<?> addNameSpace(Object value) throws DmcValueException {
    DmcAttribute<?> attr = get(DmwsdlDMSAG.__nameSpace);
    if (attr == null) attr = new DmcTypeNameSpaceReferenceMV(DmwsdlDMSAG.__nameSpace);

    setLastValue(attr.add(value));
    add(DmwsdlDMSAG.__nameSpace, attr);
    return (attr);
  }
  // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1245)
  public DmcAttribute<?> addOnePossibility(Object value) throws DmcValueException {
    DmcAttribute<?> attr = get(DmvDMSAG.__onePossibility);
    if (attr == null) attr = new DmcTypeAttributeDefinitionREFMV(DmvDMSAG.__onePossibility);

    setLastValue(attr.add(value));
    add(DmvDMSAG.__onePossibility, attr);
    return (attr);
  }
コード例 #5
0
  // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1245)
  public DmcAttribute<?> addDependsOnModuleA(Object value) throws DmcValueException {
    DmcAttribute<?> attr = get(DsdADMSAG.__dependsOnModuleA);
    if (attr == null) attr = new DmcTypeModuleAREFMV(DsdADMSAG.__dependsOnModuleA);

    setLastValue(attr.add(value));
    add(DsdADMSAG.__dependsOnModuleA, attr);
    return (attr);
  }
コード例 #6
0
  // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1245)
  public DmcAttribute<?> addDefFiles(Object value) throws DmcValueException {
    DmcAttribute<?> attr = get(MetaDMSAG.__defFiles);
    if (attr == null) attr = new DmcTypeStringMV(MetaDMSAG.__defFiles);

    setLastValue(attr.add(value));
    add(MetaDMSAG.__defFiles, attr);
    return (attr);
  }
コード例 #7
0
  // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1245)
  public DmcAttribute<?> addOutfault(Object value) throws DmcValueException {
    DmcAttribute<?> attr = get(DmwsdlDMSAG.__outfault);
    if (attr == null) attr = new DmcTypeLabelledFaultReferenceMV(DmwsdlDMSAG.__outfault);

    setLastValue(attr.add(value));
    add(DmwsdlDMSAG.__outfault, attr);
    return (attr);
  }
コード例 #8
0
  // org.dmd.dms.meta.MetaGenerator.dumpMVAccessFunction(MetaGenerator.java:2647)
  public DmcAttribute<?> addSkip(Object value) throws DmcValueException {
    DmcAttribute<?> attr = get(MetaDMSAG.__skip);
    if (attr == null) attr = new DmcTypeStringMV(MetaDMSAG.__skip);

    attr.add(value);
    add(MetaDMSAG.__skip, attr);
    return (attr);
  }
コード例 #9
0
  // org.dmd.dms.meta.MetaGenerator.dumpMVAccessFunction(MetaGenerator.java:2647)
  public DmcAttribute<?> addNvp(Object value) throws DmcValueException {
    DmcAttribute<?> attr = get(MetaDMSAG.__nvp);
    if (attr == null) attr = new DmcTypeNameValuePairMV(MetaDMSAG.__nvp);

    attr.add(value);
    add(MetaDMSAG.__nvp, attr);
    return (attr);
  }
コード例 #10
0
  // org.dmd.dms.meta.MetaGenerator.dumpMVAccessFunction(MetaGenerator.java:2647)
  public DmcAttribute<?> addRelatedToConcept(Object value) throws DmcValueException {
    DmcAttribute<?> attr = get(MetaDMSAG.__relatedToConcept);
    if (attr == null) attr = new DmcTypeConcinnityREFMV(MetaDMSAG.__relatedToConcept);

    attr.add(value);
    add(MetaDMSAG.__relatedToConcept, attr);
    return (attr);
  }
コード例 #11
0
  // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1245)
  public DmcAttribute<?> addInterfaces(Object value) throws DmcValueException {
    DmcAttribute<?> attr = get(DmwsdlDMSAG.__interfaces);
    if (attr == null) attr = new DmcTypeWsdlInterfaceREFMV(DmwsdlDMSAG.__interfaces);

    setLastValue(attr.add(value));
    add(DmwsdlDMSAG.__interfaces, attr);
    return (attr);
  }
コード例 #12
0
  // org.dmd.dms.meta.MetaGenerator.dumpMVAccessFunction(MetaGenerator.java:2647)
  public DmcAttribute<?> addExample(Object value) throws DmcValueException {
    DmcAttribute<?> attr = get(MetaDMSAG.__example);
    if (attr == null) attr = new DmcTypeExampleMV(MetaDMSAG.__example);

    attr.add(value);
    add(MetaDMSAG.__example, attr);
    return (attr);
  }
コード例 #13
0
  // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1245)
  public DmcAttribute<?> addMainElements(Object value) throws DmcValueException {
    DmcAttribute<?> attr = get(DmdgpbDMSAG.__mainElements);
    if (attr == null) attr = new DmcTypeGpbCompositeTypeREFMV(DmdgpbDMSAG.__mainElements);

    setLastValue(attr.add(value));
    add(DmdgpbDMSAG.__mainElements, attr);
    return (attr);
  }
コード例 #14
0
  // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1245)
  public DmcAttribute<?> addImport(Object value) throws DmcValueException {
    DmcAttribute<?> attr = get(DmdgpbDMSAG.__import);
    if (attr == null) attr = new DmcTypeStringMV(DmdgpbDMSAG.__import);

    setLastValue(attr.add(value));
    add(DmdgpbDMSAG.__import, attr);
    return (attr);
  }
コード例 #15
0
  // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1004)
  public DmcAttribute<?> addInterfaces(WsdlInterfaceDMO value) {
    DmcAttribute<?> attr = get(DmwsdlDMSAG.__interfaces);
    if (attr == null) attr = new DmcTypeWsdlInterfaceREFMV(DmwsdlDMSAG.__interfaces);

    try {
      setLastValue(attr.add(value));
      add(DmwsdlDMSAG.__interfaces, attr);
    } catch (DmcValueException ex) {
      throw (new IllegalStateException(
          "The type specific add() method shouldn't throw exceptions!", ex));
    }
    return (attr);
  }
コード例 #16
0
  // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1004)
  public DmcAttribute<?> addDependsOnModuleA(ModuleADMO value) {
    DmcAttribute<?> attr = get(DsdADMSAG.__dependsOnModuleA);
    if (attr == null) attr = new DmcTypeModuleAREFMV(DsdADMSAG.__dependsOnModuleA);

    try {
      setLastValue(attr.add(value));
      add(DsdADMSAG.__dependsOnModuleA, attr);
    } catch (DmcValueException ex) {
      throw (new IllegalStateException(
          "The type specific add() method shouldn't throw exceptions!", ex));
    }
    return (attr);
  }
コード例 #17
0
  // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1138)
  public DmcAttribute<?> addDefFiles(String value) {
    DmcAttribute<?> attr = get(MetaDMSAG.__defFiles);
    if (attr == null) attr = new DmcTypeStringMV(MetaDMSAG.__defFiles);

    try {
      setLastValue(attr.add(value));
      add(MetaDMSAG.__defFiles, attr);
    } catch (DmcValueException ex) {
      throw (new IllegalStateException(
          "The type specific add() method shouldn't throw exceptions!", ex));
    }
    return (attr);
  }
コード例 #18
0
  // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1138)
  public DmcAttribute<?> addOutfault(LabelledFaultReference value) {
    DmcAttribute<?> attr = get(DmwsdlDMSAG.__outfault);
    if (attr == null) attr = new DmcTypeLabelledFaultReferenceMV(DmwsdlDMSAG.__outfault);

    try {
      setLastValue(attr.add(value));
      add(DmwsdlDMSAG.__outfault, attr);
    } catch (DmcValueException ex) {
      throw (new IllegalStateException(
          "The type specific add() method shouldn't throw exceptions!", ex));
    }
    return (attr);
  }
  // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1004)
  public DmcAttribute<?> addOnePossibility(AttributeDefinitionDMO value) {
    DmcAttribute<?> attr = get(DmvDMSAG.__onePossibility);
    if (attr == null) attr = new DmcTypeAttributeDefinitionREFMV(DmvDMSAG.__onePossibility);

    try {
      setLastValue(attr.add(value));
      add(DmvDMSAG.__onePossibility, attr);
    } catch (DmcValueException ex) {
      throw (new IllegalStateException(
          "The type specific add() method shouldn't throw exceptions!", ex));
    }
    return (attr);
  }
コード例 #20
0
  // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1004)
  public DmcAttribute<?> addMainElements(GpbCompositeTypeDMO value) {
    DmcAttribute<?> attr = get(DmdgpbDMSAG.__mainElements);
    if (attr == null) attr = new DmcTypeGpbCompositeTypeREFMV(DmdgpbDMSAG.__mainElements);

    try {
      setLastValue(attr.add(value));
      add(DmdgpbDMSAG.__mainElements, attr);
    } catch (DmcValueException ex) {
      throw (new IllegalStateException(
          "The type specific add() method shouldn't throw exceptions!", ex));
    }
    return (attr);
  }
コード例 #21
0
  // org.dmd.dms.util.GenUtility.formatMAPPED(GenUtility.java:1526)
  public DmcAttribute<?> addObjRefHM(ObjWithRefsDMO value) {
    DmcAttribute<?> attr = get(DmtDMSAG.__objRefHM);
    if (attr == null) attr = new DmcTypeObjWithRefsREFMAP(DmtDMSAG.__objRefHM);

    try {
      setLastValue(attr.add(value));
      add(DmtDMSAG.__objRefHM, attr);
    } catch (DmcValueException ex) {
      throw (new IllegalStateException(
          "The type specific add() method shouldn't throw exceptions!", ex));
    }
    return (attr);
  }