本文整理汇总了Java中org.kuali.rice.krad.datadictionary.CollectionDefinition.getSummary方法的典型用法代码示例。如果您正苦于以下问题:Java CollectionDefinition.getSummary方法的具体用法?Java CollectionDefinition.getSummary怎么用?Java CollectionDefinition.getSummary使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.kuali.rice.krad.datadictionary.CollectionDefinition
的用法示例。
在下文中一共展示了CollectionDefinition.getSummary方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getCollectionSummary
import org.kuali.rice.krad.datadictionary.CollectionDefinition; //导入方法依赖的package包/类
/**
* @see org.kuali.rice.krad.service.DataDictionaryService#getCollectionSummary(java.lang.Class, java.lang.String)
*/
@Override
public String getCollectionSummary(String entryName, String collectionName) {
String summary = null;
CollectionDefinition collectionDefinition = getCollectionDefinition(entryName, collectionName);
if (collectionDefinition != null) {
summary = collectionDefinition.getSummary();
}
return summary;
}
示例2: getCollectionSummary
import org.kuali.rice.krad.datadictionary.CollectionDefinition; //导入方法依赖的package包/类
/**
* @see org.kuali.rice.krad.service.DataDictionaryService#getCollectionSummary(java.lang.Class, java.lang.String)
*/
@Override
public String getCollectionSummary(String entryName, String collectionName) {
String summary = null;
CollectionDefinition collectionDefinition = getCollectionDefinition(entryName, collectionName);
if (collectionDefinition != null) {
summary = collectionDefinition.getSummary();
}
return summary;
}
示例3: buildCollectionMap
import org.kuali.rice.krad.datadictionary.CollectionDefinition; //导入方法依赖的package包/类
private ExportMap buildCollectionMap(CollectionDefinition collection) {
ExportMap collectionMap = new ExportMap(collection.getName());
collectionMap.set("name", collection.getName());
collectionMap.set("label", collection.getLabel());
collectionMap.set("shortLabel", collection.getShortLabel());
if (collection.getSummary() != null) {
collectionMap.set("summary", collection.getSummary());
}
if (collection.getDescription() != null) {
collectionMap.set("description", collection.getDescription());
}
return collectionMap;
}
示例4: getCollectionSummary
import org.kuali.rice.krad.datadictionary.CollectionDefinition; //导入方法依赖的package包/类
/**
* @see org.kuali.rice.krad.service.DataDictionaryService#getCollectionSummary(java.lang.Class, java.lang.String)
*/
public String getCollectionSummary(String entryName, String collectionName) {
String summary = null;
CollectionDefinition collectionDefinition = getCollectionDefinition(entryName, collectionName);
if (collectionDefinition != null) {
summary = collectionDefinition.getSummary();
}
return summary;
}