com.ca.commons.datamodel.cfg
Class MetaDataUsageInfo

java.lang.Object
  extended by com.ca.commons.datamodel.cfg.MetaDataUsageInfo

public class MetaDataUsageInfo
extends Object

Represents all the information captured by processing @MetaDataUsage annotations, where constant names are replaced with their values and ${MD_NAME} expressions have been expanded.


Constructor Summary
MetaDataUsageInfo()
           
 
Method Summary
 AssociationType[] getAssociationRestriction()
           
 DataModelType getDataType()
          Type of this metadata property.
 DataModelType[] getDataTypes()
          This is only set for properties accepting multiple types, in which case dataType and dataValue will both be null.
 DataModelValue getDataValue()
           
 String getDefaultValue()
           
 String getDescription()
           
 String getDocumentation()
           
 String[] getEnumValues()
           
 SoftwareModule[] getInterestedModules()
           
 String getName()
           
 String[] getSeeAlsoMetaData()
           
 MetaDataDefStatus getStatus()
           
 MetaDataTarget[] getTarget()
           
 DataModelValue[] getTargetAttributeType()
           
 String[] getTargetAttributeTypeStr()
           
 String[] getTargetIncompatibleMetaData()
           
 MetaDataTarget[] getTargetParent()
           
 String[] getTargetPrequesiteMetaData()
           
 void setAssociationRestriction(AssociationType[] associationRestriction)
           
 void setDataType(DataModelType dataType)
           
 void setDataTypes(DataModelType[] dataTypes)
           
 void setDataValue(DataModelValue dataValue)
           
 void setDefaultValue(String defaultValue)
           
 void setDescription(String description)
           
 void setDocumentation(String documentation)
           
 void setEnumValues(String[] enumValues)
           
 void setInterestedModules(SoftwareModule[] interestedModules)
           
 void setName(String name)
           
 void setSeeAlsoMetaData(String[] seeAlsoMetaData)
           
 void setStatus(MetaDataDefStatus status)
           
 void setTarget(MetaDataTarget[] target)
           
 void setTargetAttributeType(DataModelValue[] targetAttributeType)
           
 void setTargetAttributeTypeStr(String[] targetAttributeTypeStr)
           
 void setTargetIncompatibleMetaData(String[] targetIncompatibleMetaData)
           
 void setTargetParent(MetaDataTarget[] targetParent)
           
 void setTargetPrequesiteMetaData(String[] targetPrequesiteMetaData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaDataUsageInfo

public MetaDataUsageInfo()
Method Detail

getName

public String getName()

setName

public void setName(String name)

getDataType

public DataModelType getDataType()
Type of this metadata property. Note that unlike in JCS server_jcs.xml qualifiers are not allowed for "FLEXI_STR:DN", "SEQ[ENUM]" etc as base type is enforced to be STR and FLEXI_STR / ENUM types don't make sense at the meta-level where there is no datamodel to refer to.


setDataType

public void setDataType(DataModelType dataType)

getDataValue

public DataModelValue getDataValue()

setDataValue

public void setDataValue(DataModelValue dataValue)

getDataTypes

public DataModelType[] getDataTypes()
This is only set for properties accepting multiple types, in which case dataType and dataValue will both be null.


setDataTypes

public void setDataTypes(DataModelType[] dataTypes)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getDocumentation

public String getDocumentation()

setDocumentation

public void setDocumentation(String documentation)

getDefaultValue

public String getDefaultValue()

setDefaultValue

public void setDefaultValue(String defaultValue)

getEnumValues

public String[] getEnumValues()

setEnumValues

public void setEnumValues(String[] enumValues)

getInterestedModules

public SoftwareModule[] getInterestedModules()

setInterestedModules

public void setInterestedModules(SoftwareModule[] interestedModules)

getStatus

public MetaDataDefStatus getStatus()

setStatus

public void setStatus(MetaDataDefStatus status)

getTarget

public MetaDataTarget[] getTarget()

setTarget

public void setTarget(MetaDataTarget[] target)

getTargetAttributeTypeStr

public String[] getTargetAttributeTypeStr()

setTargetAttributeTypeStr

public void setTargetAttributeTypeStr(String[] targetAttributeTypeStr)

getTargetAttributeType

public DataModelValue[] getTargetAttributeType()

setTargetAttributeType

public void setTargetAttributeType(DataModelValue[] targetAttributeType)

getTargetParent

public MetaDataTarget[] getTargetParent()

setTargetParent

public void setTargetParent(MetaDataTarget[] targetParent)

getTargetPrequesiteMetaData

public String[] getTargetPrequesiteMetaData()

setTargetPrequesiteMetaData

public void setTargetPrequesiteMetaData(String[] targetPrequesiteMetaData)

getTargetIncompatibleMetaData

public String[] getTargetIncompatibleMetaData()

setTargetIncompatibleMetaData

public void setTargetIncompatibleMetaData(String[] targetIncompatibleMetaData)

getSeeAlsoMetaData

public String[] getSeeAlsoMetaData()

setSeeAlsoMetaData

public void setSeeAlsoMetaData(String[] seeAlsoMetaData)

getAssociationRestriction

public AssociationType[] getAssociationRestriction()

setAssociationRestriction

public void setAssociationRestriction(AssociationType[] associationRestriction)


Created 2011-07-14 13:27 EST