public class IndexElementVo extends Object implements IndexElement
| 限定符和类型 | 字段和说明 |
|---|---|
protected List<IndexAttribute> |
m_Attributes
属性(主要用于排序)
|
protected String |
m_Caption
索引项标题
|
protected String |
m_Key
索引项标识键
|
protected String |
m_Summary
索引项摘要
|
| 限定符 | 构造器和说明 |
|---|---|
protected |
IndexElementVo() |
|
IndexElementVo(String key)
构造
|
|
IndexElementVo(String key,
String caption)
构造
|
|
IndexElementVo(String key,
String caption,
String summary)
构造
|
|
IndexElementVo(String key,
String caption,
String summary,
IndexAttribute... attributes)
构造
|
|
IndexElementVo(String key,
String caption,
String summary,
List<IndexAttribute> attributes)
构造
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(IndexElement obj) |
Object |
getAttribute(String name)
属性
|
List<IndexAttribute> |
getAttributes()
属性(主要用于排序)
|
String |
getCaption()
总结
|
String |
getKey()
键
|
String |
getSummary()
摘要
|
String |
toString() |
static IndexElement |
valueOf(String id)
由对象ID(序号)构建索引项
|
static IndexElement |
valueOf(UniteId uuid)
由联合ID构建索引项
|
protected String m_Key
protected String m_Caption
protected String m_Summary
protected List<IndexAttribute> m_Attributes
protected IndexElementVo()
public IndexElementVo(String key)
key - 被索引条目IDpublic IndexElementVo(String key, String caption, String summary)
key - 被索引条目IDcaption - 标题summary - 摘要public IndexElementVo(String key, String caption, String summary, IndexAttribute... attributes)
key - 被索引条目IDcaption - 标题summary - 摘要attributes - 属性(主要用于排序)public IndexElementVo(String key, String caption, String summary, List<IndexAttribute> attributes)
key - 被索引条目IDcaption - 标题summary - 摘要attributes - 属性(主要用于排序)public static IndexElement valueOf(UniteId uuid)
uuid - 联合IDpublic static IndexElement valueOf(String id)
id - ID(序号)public String getKey()
IndexElementgetKey 在接口中 IndexElementpublic String getSummary()
IndexElementgetSummary 在接口中 IndexElementpublic String getCaption()
IndexElementgetCaption 在接口中 IndexElementpublic List<IndexAttribute> getAttributes()
IndexElementgetAttributes 在接口中 IndexElementpublic Object getAttribute(String name)
IndexElementgetAttribute 在接口中 IndexElementname - 属性名(忽略大小写)public boolean equals(IndexElement obj)
Copyright © 2021. All rights reserved.