|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModelInfo
This interface provides the model information.
Field Summary | |
---|---|
static short |
PRIVATE
|
static java.lang.String |
PRIVATE_VISIBILITY
|
static short |
PUBLIC
|
static java.lang.String |
PUBLIC_VISIBILITY
|
Method Summary | |
---|---|
void |
enableMutliSourceBindings(boolean isEnabled)
Enable the model to have multiple connector bindings associated by passing in true . |
java.util.List |
getConnectorBindingNames()
Return the connector binding name(s). |
java.util.Date |
getDateVersioned()
Get the date this model was versioned. |
java.io.InputStream |
getDDLFileContentsAsStream(java.lang.String ddlFileName)
Get the contents of the given DDL file name. |
byte[] |
getDDLFileContentsGetBytes(java.lang.String ddlFileName)
Get the contents of the given DDL file name. |
java.lang.String[] |
getDDLFileNames()
Get the list of DDL file names that can be used to generate this materialization. |
java.lang.String |
getDescription()
Get this model's description. |
int |
getModelType()
Return the type of model |
java.lang.String |
getModelTypeName()
Returns the String version of the model type. |
java.lang.String |
getModelURI()
Return the model uri. |
java.lang.String |
getName()
Get this model's name. |
java.lang.String |
getPath()
|
java.lang.String |
getUUID()
Get this model's UUID. |
java.lang.String |
getVersion()
Get this model's verion. |
java.lang.String |
getVersionedBy()
Get the name of the person who versioned this model. |
short |
getVisibility()
|
boolean |
isMaterialization()
Check whether this model is a materialization of a virtual group. |
boolean |
isMultiSourceBindingEnabled()
Returns true if the model has been enabled to have multiple connector bindings assigned. |
boolean |
isPhysical()
Whether this is a physical model. |
boolean |
isVisible()
Returns true if the model is visible to the use
for querying |
boolean |
requiresConnectorBinding()
Whether this model requires that a connector must be bound to it. |
void |
setDDLFiles(java.util.Map ddlFileNamesToFiles)
Set the Map of DDL file names to DDL file byte arrays. |
boolean |
supportsMultiSourceBindings()
Returns true if the model, based on its model type, supports multiple connector bindings. |
Field Detail |
---|
static final short PRIVATE
static final short PUBLIC
static final java.lang.String PRIVATE_VISIBILITY
static final java.lang.String PUBLIC_VISIBILITY
Method Detail |
---|
java.lang.String getUUID()
java.lang.String getName()
java.lang.String getDescription()
java.lang.String getVersion()
java.util.Date getDateVersioned()
java.lang.String getVersionedBy()
boolean isPhysical()
boolean requiresConnectorBinding()
java.util.List getConnectorBindingNames()
boolean supportsMultiSourceBindings()
isMultiSourceBindingEnabled()
to determine
if the model has been flagged so that the user can
actually assign multi-connector bindings.
boolean isMultiSourceBindingEnabled()
boolean isVisible()
true
if the model is visible to the use
for querying
short getVisibility()
boolean isMaterialization()
java.lang.String[] getDDLFileNames()
If this model is not a materialization, the returned String[] will be empty.
getDDLFileContentsAsStream(String)
java.io.InputStream getDDLFileContentsAsStream(java.lang.String ddlFileName)
ddlFileName
- The name for which to get the DDL.
getDDLFileNames()
byte[] getDDLFileContentsGetBytes(java.lang.String ddlFileName)
ddlFileName
- The name for which to get the DDL.
getDDLFileNames()
void setDDLFiles(java.util.Map ddlFileNamesToFiles)
ddlFileNamesToFiles
- The Map String->byte[];int getModelType()
java.lang.String getModelURI()
java.lang.String getModelTypeName()
String
version of the model type.
void enableMutliSourceBindings(boolean isEnabled)
true
.
isEnabled
- to determine if the
model is enabled.
Just because a model supports mutliple bindings, does not
mean it will be enabled.
java.lang.String getPath()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |