org.sakaiproject.entity.api.Reference.getDescription()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(1.4k)|赞(0)|评价(0)|浏览(155)

本文整理了Java中org.sakaiproject.entity.api.Reference.getDescription方法的一些代码示例,展示了Reference.getDescription的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Reference.getDescription方法的具体详情如下:
包路径:org.sakaiproject.entity.api.Reference
类名称:Reference
方法名:getDescription

Reference.getDescription介绍

暂无

代码示例

代码示例来源:origin: org.sakaiproject.kernel/sakai-kernel-impl

/**
 * @return a description of the item this alias's target applies to.
 */
public String getDescription()
{
  try
  {
    // the rest are references to some resource
    Reference ref = entityManager().newReference(getTarget());
    return ref.getDescription();
  }
  catch (Exception any)
  {
    return "unknown";
  }
} // getDescription

代码示例来源:origin: sakaiproject/sakai

String title = ref.getDescription();
MessageHeader messageHead = message.getHeader();
String date = messageHead.getDate().toStringLocalFullZ();

代码示例来源:origin: org.sakaiproject.message/sakai-message-util

String title = ref.getDescription();
MessageHeader messageHead = message.getHeader();
String date = messageHead.getDate().toStringLocalFullZ();

代码示例来源:origin: org.sakaiproject.message/sakai-message-impl

String title = ref.getDescription();
MessageHeader messageHead = message.getHeader();
String date = messageHead.getDate().toStringLocalFullZ();

代码示例来源:origin: org.sakaiproject/sakai-chat-impl

String title = ref.getDescription();

代码示例来源:origin: org.sakaiproject.kernel/sakai-kernel-impl

return ref.getDescription();

相关文章