|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.common.metadata.DefaultMetaDataKey
public class DefaultMetaDataKey
MetaDataKey default implementation. This should be used to describe the service entities/types names and display name.
| Constructor Summary | |
|---|---|
DefaultMetaDataKey(String id,
String displayName)
Simple DefaultMetaDataKey constructor. |
|
DefaultMetaDataKey(String id,
String displayName,
boolean isFromCapable)
Deprecated. |
|
DefaultMetaDataKey(String id,
String displayName,
List<MetaDataKeyProperty> keyProperties)
This is an advanced constructor. |
|
| Method Summary | ||
|---|---|---|
boolean |
addProperty(MetaDataKeyProperty metaDataKeyProperty)
|
|
int |
compareTo(MetaDataKey otherMetadataKey)
|
|
boolean |
equals(Object obj)
|
|
String |
getDisplayName()
|
|
String |
getId()
|
|
List<MetaDataKeyProperty> |
getProperties()
|
|
|
getProperty(Class<T> metaDataKeyProperty)
|
|
int |
hashCode()
|
|
boolean |
hasProperty(Class<? extends MetaDataKeyProperty> metaDataKeyProperty)
|
|
boolean |
isFromCapable()
Deprecated. use hasProperty(Class) instead |
|
boolean |
removeProperty(MetaDataKeyProperty metaDataKeyProperty)
|
|
String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultMetaDataKey(String id,
String displayName)
DefaultMetaDataKey constructor. You should use this for most use cases.
id - The XML name for the entity.displayName - The name that will be displayed on Studio UI.
public DefaultMetaDataKey(String id,
String displayName,
List<MetaDataKeyProperty> keyProperties)
This is an advanced constructor. You should use the DefaultMetaDataKey(String id, String displayName) for most use cases.
This is intended for advanced scenarios like DSQL or Grouping types.
id - The XML name for the entity.displayName - The name that will be displayed on Studio UI.keyProperties - Properties used for advanced scenarios. Some of them are DsqlFromMetaDataKeyProperty or TypeDescribingProperty.
@Deprecated
public DefaultMetaDataKey(String id,
String displayName,
boolean isFromCapable)
| Method Detail |
|---|
public String getId()
getId in interface MetaDataKeypublic String getDisplayName()
getDisplayName in interface MetaDataKeypublic List<MetaDataKeyProperty> getProperties()
getProperties in interface MetaDataKeypublic boolean addProperty(MetaDataKeyProperty metaDataKeyProperty)
addProperty in interface MetaDataKeypublic boolean removeProperty(MetaDataKeyProperty metaDataKeyProperty)
removeProperty in interface MetaDataKeypublic boolean hasProperty(Class<? extends MetaDataKeyProperty> metaDataKeyProperty)
hasProperty in interface MetaDataKeypublic <T extends MetaDataKeyProperty> T getProperty(Class<T> metaDataKeyProperty)
getProperty in interface MetaDataKeypublic String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic int compareTo(MetaDataKey otherMetadataKey)
compareTo in interface Comparable<MetaDataKey>@Deprecated public boolean isFromCapable()
hasProperty(Class) instead
isFromCapable in interface TypeMetaDataModel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||