本文整理汇总了Java中org.eclipse.dd.di.DiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP属性的典型用法代码示例。如果您正苦于以下问题:Java DiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP属性的具体用法?Java DiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP怎么用?Java DiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP使用的例子?那么恭喜您, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类org.eclipse.dd.di.DiPackage
的用法示例。
在下文中一共展示了DiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP属性的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getXMLNSPrefixMap
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Map<String, String> getXMLNSPrefixMap() {
if (xMLNSPrefixMap == null) {
xMLNSPrefixMap = new EcoreEMap<String, String>(
EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY,
EStringToStringMapEntryImpl.class, this,
DiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
}
return xMLNSPrefixMap.map();
}
示例2: eInverseRemove
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
case DiPackage.DOCUMENT_ROOT__MIXED:
return ((InternalEList<?>) getMixed()).basicRemove(otherEnd, msgs);
case DiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
return ((InternalEList<?>) ((EMap.InternalMapView<String, String>) getXMLNSPrefixMap())
.eMap()).basicRemove(otherEnd, msgs);
case DiPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
return ((InternalEList<?>) ((EMap.InternalMapView<String, String>) getXSISchemaLocation())
.eMap()).basicRemove(otherEnd, msgs);
case DiPackage.DOCUMENT_ROOT__DIAGRAM_ELEMENT:
return basicSetDiagramElement(null, msgs);
case DiPackage.DOCUMENT_ROOT__DIAGRAM:
return basicSetDiagram(null, msgs);
case DiPackage.DOCUMENT_ROOT__EDGE:
return basicSetEdge(null, msgs);
case DiPackage.DOCUMENT_ROOT__LABEL:
return basicSetLabel(null, msgs);
case DiPackage.DOCUMENT_ROOT__LABELED_EDGE:
return basicSetLabeledEdge(null, msgs);
case DiPackage.DOCUMENT_ROOT__LABELED_SHAPE:
return basicSetLabeledShape(null, msgs);
case DiPackage.DOCUMENT_ROOT__NODE:
return basicSetNode(null, msgs);
case DiPackage.DOCUMENT_ROOT__PLANE:
return basicSetPlane(null, msgs);
case DiPackage.DOCUMENT_ROOT__SHAPE:
return basicSetShape(null, msgs);
case DiPackage.DOCUMENT_ROOT__STYLE:
return basicSetStyle(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
示例3: eIsSet
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
case DiPackage.DOCUMENT_ROOT__MIXED:
return mixed != null && !mixed.isEmpty();
case DiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
case DiPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
case DiPackage.DOCUMENT_ROOT__DIAGRAM_ELEMENT:
return getDiagramElement() != null;
case DiPackage.DOCUMENT_ROOT__DIAGRAM:
return getDiagram() != null;
case DiPackage.DOCUMENT_ROOT__EDGE:
return getEdge() != null;
case DiPackage.DOCUMENT_ROOT__LABEL:
return getLabel() != null;
case DiPackage.DOCUMENT_ROOT__LABELED_EDGE:
return getLabeledEdge() != null;
case DiPackage.DOCUMENT_ROOT__LABELED_SHAPE:
return getLabeledShape() != null;
case DiPackage.DOCUMENT_ROOT__NODE:
return getNode() != null;
case DiPackage.DOCUMENT_ROOT__PLANE:
return getPlane() != null;
case DiPackage.DOCUMENT_ROOT__SHAPE:
return getShape() != null;
case DiPackage.DOCUMENT_ROOT__STYLE:
return getStyle() != null;
}
return super.eIsSet(featureID);
}
示例4: eGet
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case DiPackage.DOCUMENT_ROOT__MIXED:
if (coreType)
return getMixed();
return ((FeatureMap.Internal) getMixed()).getWrapper();
case DiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
if (coreType)
return ((EMap.InternalMapView<String, String>) getXMLNSPrefixMap())
.eMap();
else
return getXMLNSPrefixMap();
case DiPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
if (coreType)
return ((EMap.InternalMapView<String, String>) getXSISchemaLocation())
.eMap();
else
return getXSISchemaLocation();
case DiPackage.DOCUMENT_ROOT__DIAGRAM_ELEMENT:
return getDiagramElement();
case DiPackage.DOCUMENT_ROOT__DIAGRAM:
return getDiagram();
case DiPackage.DOCUMENT_ROOT__EDGE:
return getEdge();
case DiPackage.DOCUMENT_ROOT__LABEL:
return getLabel();
case DiPackage.DOCUMENT_ROOT__LABELED_EDGE:
return getLabeledEdge();
case DiPackage.DOCUMENT_ROOT__LABELED_SHAPE:
return getLabeledShape();
case DiPackage.DOCUMENT_ROOT__NODE:
return getNode();
case DiPackage.DOCUMENT_ROOT__PLANE:
return getPlane();
case DiPackage.DOCUMENT_ROOT__SHAPE:
return getShape();
case DiPackage.DOCUMENT_ROOT__STYLE:
return getStyle();
}
return super.eGet(featureID, resolve, coreType);
}
示例5: eSet
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case DiPackage.DOCUMENT_ROOT__MIXED:
((FeatureMap.Internal) getMixed()).set(newValue);
return;
case DiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
((EStructuralFeature.Setting) ((EMap.InternalMapView<String, String>) getXMLNSPrefixMap())
.eMap()).set(newValue);
return;
case DiPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
((EStructuralFeature.Setting) ((EMap.InternalMapView<String, String>) getXSISchemaLocation())
.eMap()).set(newValue);
return;
case DiPackage.DOCUMENT_ROOT__DIAGRAM_ELEMENT:
setDiagramElement((DiagramElement) newValue);
return;
case DiPackage.DOCUMENT_ROOT__DIAGRAM:
setDiagram((Diagram) newValue);
return;
case DiPackage.DOCUMENT_ROOT__EDGE:
setEdge((Edge) newValue);
return;
case DiPackage.DOCUMENT_ROOT__LABEL:
setLabel((Label) newValue);
return;
case DiPackage.DOCUMENT_ROOT__LABELED_EDGE:
setLabeledEdge((LabeledEdge) newValue);
return;
case DiPackage.DOCUMENT_ROOT__LABELED_SHAPE:
setLabeledShape((LabeledShape) newValue);
return;
case DiPackage.DOCUMENT_ROOT__NODE:
setNode((Node) newValue);
return;
case DiPackage.DOCUMENT_ROOT__PLANE:
setPlane((Plane) newValue);
return;
case DiPackage.DOCUMENT_ROOT__SHAPE:
setShape((Shape) newValue);
return;
case DiPackage.DOCUMENT_ROOT__STYLE:
setStyle((Style) newValue);
return;
}
super.eSet(featureID, newValue);
}
示例6: eUnset
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
case DiPackage.DOCUMENT_ROOT__MIXED:
getMixed().clear();
return;
case DiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
getXMLNSPrefixMap().clear();
return;
case DiPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
getXSISchemaLocation().clear();
return;
case DiPackage.DOCUMENT_ROOT__DIAGRAM_ELEMENT:
setDiagramElement((DiagramElement) null);
return;
case DiPackage.DOCUMENT_ROOT__DIAGRAM:
setDiagram((Diagram) null);
return;
case DiPackage.DOCUMENT_ROOT__EDGE:
setEdge((Edge) null);
return;
case DiPackage.DOCUMENT_ROOT__LABEL:
setLabel((Label) null);
return;
case DiPackage.DOCUMENT_ROOT__LABELED_EDGE:
setLabeledEdge((LabeledEdge) null);
return;
case DiPackage.DOCUMENT_ROOT__LABELED_SHAPE:
setLabeledShape((LabeledShape) null);
return;
case DiPackage.DOCUMENT_ROOT__NODE:
setNode((Node) null);
return;
case DiPackage.DOCUMENT_ROOT__PLANE:
setPlane((Plane) null);
return;
case DiPackage.DOCUMENT_ROOT__SHAPE:
setShape((Shape) null);
return;
case DiPackage.DOCUMENT_ROOT__STYLE:
setStyle((Style) null);
return;
}
super.eUnset(featureID);
}