public class ConfigurationMetadata
extends java.lang.Object
ItemMetadata
构造器和说明 |
---|
ConfigurationMetadata() |
ConfigurationMetadata(ConfigurationMetadata metadata) |
限定符和类型 | 方法和说明 |
---|---|
void |
add(ItemHint itemHint)
Add item hint.
|
void |
add(ItemMetadata itemMetadata)
Add item meta-data.
|
void |
addIfMissing(ItemMetadata itemMetadata)
Add item meta-data if it's not already present.
|
java.util.List<ItemHint> |
getHints()
Return hint meta-data.
|
java.util.List<ItemMetadata> |
getItems()
Return item meta-data.
|
void |
merge(ConfigurationMetadata metadata)
Merge the content from another
ConfigurationMetadata . |
protected void |
mergeItemMetadata(ItemMetadata metadata) |
static java.lang.String |
nestedPrefix(java.lang.String prefix,
java.lang.String name) |
java.lang.String |
toString() |
public ConfigurationMetadata()
public ConfigurationMetadata(ConfigurationMetadata metadata)
public static java.lang.String nestedPrefix(java.lang.String prefix, java.lang.String name)
public void add(ItemMetadata itemMetadata)
itemMetadata
- the meta-data to addpublic void addIfMissing(ItemMetadata itemMetadata)
itemMetadata
- the meta-data to addpublic void add(ItemHint itemHint)
itemHint
- the item hint to addpublic void merge(ConfigurationMetadata metadata)
ConfigurationMetadata
.metadata
- the ConfigurationMetadata
instance to mergepublic java.util.List<ItemMetadata> getItems()
public java.util.List<ItemHint> getHints()
protected void mergeItemMetadata(ItemMetadata metadata)
public java.lang.String toString()
toString
在类中 java.lang.Object