public class ModelMetaData extends AdminObjectImpl implements Model
| Modifier and Type | Class and Description |
|---|---|
static class |
ModelMetaData.Message |
Model.MetadataStatus, Model.Type| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected List<ModelMetaData.Message> |
messages |
protected Model.MetadataStatus |
metadataStatus |
protected String |
modelType |
protected String |
path |
protected List<ModelMetaData.Message> |
runtimeMessages |
protected List<String> |
sourceMetadataText |
protected List<String> |
sourceMetadataType |
protected Map<String,SourceMappingMetadata> |
sources |
protected boolean |
visible |
attachmentsDELIMITER, DELIMITER_CHAR, ESCAPED_DELIMITER, ESCAPED_WILDCARD, WILDCARD| Constructor and Description |
|---|
ModelMetaData() |
addAttchment, addProperty, getAttachment, getHostName, getName, getProperties, getPropertiesMap, getPropertyValue, getServerGroup, getServerName, removeAttachment, removeProperty, setHostName, setName, setProperties, setServerGroup, setServerNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, getProperties, getPropertyValueprotected Map<String,SourceMappingMetadata> sources
protected String modelType
protected String description
protected String path
protected boolean visible
protected List<ModelMetaData.Message> messages
protected transient List<ModelMetaData.Message> runtimeMessages
protected Model.MetadataStatus metadataStatus
public String getDescription()
ModelgetDescription in interface Modelpublic void setDescription(String description)
public boolean isSource()
Modelpublic boolean isVisible()
ModelVDB.isVisible(String)public Model.Type getModelType()
ModelgetModelType in interface Modelpublic String getPath()
public void setPath(String path)
public boolean isSupportsMultiSourceBindings()
ModelisSupportsMultiSourceBindings in interface Modeltrue if this model supports multiple sourcespublic void setSupportsMultiSourceBindings(boolean supports)
public void setModelType(Model.Type modelType)
public void setModelType(String modelType)
public Model.MetadataStatus getMetadataStatus()
ModelgetMetadataStatus in interface Modelpublic void setMetadataStatus(Model.MetadataStatus status)
public void setMetadataStatus(String status)
public void setVisible(boolean value)
public Collection<SourceMappingMetadata> getSourceMappings()
public Map<String,SourceMappingMetadata> getSources()
public SourceMappingMetadata getSourceMapping(String sourceName)
public void setSourceMappings(List<SourceMappingMetadata> sources)
public List<String> getSourceNames()
ModelgetSourceNames in interface Modelpublic String getSourceConnectionJndiName(String sourceName)
ModelgetSourceConnectionJndiName in interface ModelsourceName - - name of the sourcepublic String getSourceTranslatorName(String sourceName)
ModelgetSourceTranslatorName in interface Modelpublic SourceMappingMetadata addSourceMapping(String name, String translatorName, String connJndiName)
public void addSourceMapping(SourceMappingMetadata source)
public boolean hasErrors()
public List<ModelMetaData.Message> getMessages()
public List<ModelMetaData.Message> getMessages(boolean includeRuntime)
public ModelMetaData.Message addMessage(String severity, String message)
public boolean hasRuntimeMessages()
public ModelMetaData.Message addRuntimeError(String message)
public ModelMetaData.Message addRuntimeMessage(ModelMetaData.Message.Severity severity, String message)
public ModelMetaData.Message addMessage(ModelMetaData.Message ve)
public void clearRuntimeMessages()
public void clearMessages()
@Deprecated public String getSchemaSourceType()
getSourceMetadataType()@Deprecated public void setSchemaSourceType(String schemaSourceType)
addSourceMetadata(String, String)@Deprecated public String getSchemaText()
getSourceMetadataText()@Deprecated public void setSchemaText(String schemaText)
addSourceMetadata(String, String)public List<String> getValidityErrors()
ModelgetValidityErrors in interface Modelpublic static Collection<String> getReservedNames()
Copyright © 2019. All rights reserved.