AbstractDarwinoModel.java 文件源码

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

项目:XPages-Scaffolding 作者:
public void initFromStore(String connectionBeanName, final Store store) throws JsonException {
    connectionBeanName_ = connectionBeanName;
    storeId_ = store.getId();
    databaseId_ = store.getDatabase().getId();
    instanceId_ = store.getDatabase().getInstance().getId();
    documentId_ = ""; //$NON-NLS-1$
    category_ = false;

    // Look for an @Table annotation to set the form
    Table tableAnnotation = getClass().getAnnotation(Table.class);
    if(tableAnnotation != null) {
        setValueImmediate("form", tableAnnotation.name()); //$NON-NLS-1$
    }

    docJson_ = new JsonObject();
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号