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 |
attachments
DELIMITER, 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, setServerName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, getProperties, getPropertyValue
protected 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()
Model
getDescription
in interface Model
public void setDescription(String description)
public boolean isSource()
Model
public boolean isVisible()
Model
VDB.isVisible(String)
public Model.Type getModelType()
Model
getModelType
in interface Model
public String getPath()
public void setPath(String path)
public boolean isSupportsMultiSourceBindings()
Model
isSupportsMultiSourceBindings
in interface Model
true
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()
Model
getMetadataStatus
in interface Model
public 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()
Model
getSourceNames
in interface Model
public String getSourceConnectionJndiName(String sourceName)
Model
getSourceConnectionJndiName
in interface Model
sourceName
- - name of the sourcepublic String getSourceTranslatorName(String sourceName)
Model
getSourceTranslatorName
in interface Model
public 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()
Model
getValidityErrors
in interface Model
public static Collection<String> getReservedNames()
Copyright © 2019. All rights reserved.