|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataModelItem
| Field Summary | |
|---|---|
static char |
NAME_DELIMITER
DataModel name delimiter char |
| Method Summary | |
|---|---|
DataModelProperty |
addMetaDataProperty(String name)
Create an empty metadata property on this item with provided name and type, if one does not already exist. |
String |
getAbsoluteName()
|
DataModelItem |
getContainer()
|
String |
getDocumentation()
|
Collection<? extends DataModelProperty> |
getMetaDataProperties()
Returns collection of DataModelPropertys describing metadata. |
DataModelProperty |
getMetaDataProperty(String name)
|
boolean |
getMetaDataPropertyBool(String boolPropName,
boolean def)
Helper function which returns boolean value for contained property with name boolPropName or
def if no such property exists. |
String |
getMetaDataPropertyStr(String strPropName,
String def)
Helper function which returns String value for contained property with name strPropName or
def if no such property exists. |
DataModel |
getModel()
|
String |
getName()
|
boolean |
isMetadata()
Classes and properties can represent datamodel or metamodel. |
void |
setDocumentation(String doc)
|
void |
setMetaDataPropertyBool(String boolPropName,
boolean b)
Helper function to ensure that the named metadata property is set to the provided value on this item. |
void |
setMetaDataPropertyStr(String strPropName,
String s)
Helper function to ensure that the named metadata property is set to the provided value on this item. |
| Methods inherited from interface com.ca.commons.datamodel.HasMetadata |
|---|
mdObject, mdString, mdValue, mdValue, mdValue |
| Field Detail |
|---|
static final char NAME_DELIMITER
| Method Detail |
|---|
String getAbsoluteName()
String getName()
boolean isMetadata()
Collection<? extends DataModelProperty> getMetaDataProperties()
DataModelPropertys describing metadata.
@Nullable
DataModelProperty getMetaDataProperty(String name)
throws DataModelException
DataModelException
@Nullable
DataModelItem getContainer()
throws DataModelException
DataModelException@NotNull DataModel getModel()
String getDocumentation()
void setDocumentation(@NotNull
String doc)
DataModelProperty addMetaDataProperty(String name)
void setMetaDataPropertyBool(String boolPropName,
boolean b)
boolean getMetaDataPropertyBool(String boolPropName,
boolean def)
boolPropName or
def if no such property exists.
void setMetaDataPropertyStr(String strPropName,
String s)
String getMetaDataPropertyStr(String strPropName,
String def)
strPropName or
def if no such property exists.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||