PersonImpl.java 文件源码

java
阅读 20 收藏 0 点赞 0 评论 0

项目:RCP-Demo-Application 作者:
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated NOT
 */
public boolean hasName(DiagnosticChain chain, Map<?, ?> context) {
    // TODO: implement this method
    // -> specify the condition that violates the invariant
    // -> verify the details of the diagnostic, including severity and message
    // Ensure that you remove @generated or mark it @generated NOT
    if (false) {
        if (chain != null) {
            chain.add
                (new BasicDiagnostic
                    (Diagnostic.ERROR,
                     DemomodelValidator.DIAGNOSTIC_SOURCE,
                     DemomodelValidator.PERSON__HAS_NAME,
                     EcorePlugin.INSTANCE.getString("_UI_GenericInvariant_diagnostic", new Object[] { "hasName", EObjectValidator.getObjectLabel(this, (Map<Object, Object>) context) }),
                     new Object [] { this }));
        }
        return false;
    }
    return true;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号