public class OdiLanguageImpl extends oracle.odi.domain.support.AbstractRepositoryEntity implements ILanguageImpl
Modifier and Type | Class and Description |
---|---|
static class |
OdiLanguageImpl.OdiLanguageImplId
Implements the composite key for
OdiLanguageImpl . |
Modifier and Type | Method and Description |
---|---|
java.util.List |
getAllElements()
Gets all language elements from all sublanguages of this language.
|
java.util.Collection |
getImplementedElements()
Returns list of language element implementations if any.
|
java.io.Serializable |
getInternalId()
Provides a common getter for the persistence layer to obtain an identity,
irrespective of the actual type of identity used.
|
char[] |
getLiteralDelimeters()
Returns pair of characters which are literal delimiters for this language's
implementation.
|
java.lang.String |
getName()
Gets the name of this language.
|
char[] |
getObjectDelimeters()
Returns pair of characters which are object delimiters for this language's
implementation.
|
oracle.odi.domain.topology.language.OdiLanguage |
getOverriddenLanguage()
Returns OdiLanguage instance this instance implements.
|
IRepositoryEntity |
getSecurityContainer()
Define a generic way to retrieve container for entities.
|
java.util.Collection |
getSubLanguages()
Gets all sublanguages.
|
OdiTechnology |
getTechnology()
Returns OdiTechnology this implementation belongs to.
|
char[] |
getWordSeparators()
Returns chars which are word separators for this language's implementation.
|
boolean |
isCompatible()
Returns true if Language Elements marked as "Standard" are applicable to
this technology.
|
boolean |
isDefault()
Returns true if the language is the default language for this technology.
|
boolean |
isKeywordsCaseSensitive()
Returns
true if keywords are case sensitive for this
language's implementation and false otherwise. |
boolean |
isObjectNamesCaseSensitive()
Returns
true if object names are case sensitive for this
language's implementation and false otherwise. |
void |
setCompatible(boolean pCompatible)
Sets this language as "compatible" see
isCompatible() description. |
void |
setDefault(boolean pDefault)
Sets this language as default for the technology.
|
void |
setKeywordsCaseCensitive(boolean pKeywordsCaseSensitive)
Sets if keywords are case-sensitive for this language's implementation.
|
void |
setLiteralDelimeters(char[][] pLiteralDelimeters)
Sets char pair that can be used as literal delimiters.
|
void |
setObjectDelimeters(char[] pObjectDelimeters)
Sets char pair that can be used as object delimiters.
|
void |
setObjectNamesCaseSensitive(boolean pObjectNamesCaseSensitive)
Sets if object names are case-sensitive for this language's implementation.
|
void |
setWordSeparators(char[] pWordSeparators)
Sets chars that can be used as word separators.
|
equals, getGlobalId, getNumericId, hasCustomizedPersistenceMethodFor, hashCode, invokeCustomizedPersistenceMethodFor, toString
getGlobalId, getNumericId
public java.io.Serializable getInternalId()
IRepositoryEntity
Typically a subclass will delegate to a public
SomePrimitiveWrapper getId()
method. The necessity for the
getInternalId()
abstract method is solely because the
persistence layer needs a way of obtaining the identity irrespective of
the actual identity implementation choice.
Returning null
from this method will indicate the object has
never been saved. This will likely be relied on by some DAO
implementations.
getInternalId
in interface IRepositoryEntity
public IRepositoryEntity getSecurityContainer()
IRepositoryEntity
getSecurityContainer
in interface IRepositoryEntity
public boolean isKeywordsCaseSensitive()
true
if keywords are case sensitive for this
language's implementation and false
otherwise.isKeywordsCaseSensitive
in interface ILanguage
public void setKeywordsCaseCensitive(boolean pKeywordsCaseSensitive)
pKeywordsCaseSensitive
- if keywords are case sensitivepublic boolean isObjectNamesCaseSensitive()
true
if object names are case sensitive for this
language's implementation and false
otherwise.isObjectNamesCaseSensitive
in interface ILanguage
public void setObjectNamesCaseSensitive(boolean pObjectNamesCaseSensitive)
pObjectNamesCaseSensitive
- if object names are case-sensitivepublic char[] getWordSeparators()
getWordSeparators
in interface ILanguage
public void setWordSeparators(char[] pWordSeparators)
pWordSeparators
- separator charspublic char[] getObjectDelimeters()
getObjectDelimeters
in interface ILanguage
public void setObjectDelimeters(char[] pObjectDelimeters)
pObjectDelimeters
- delimiter charspublic char[] getLiteralDelimeters()
getLiteralDelimeters
in interface ILanguage
public void setLiteralDelimeters(char[][] pLiteralDelimeters)
pLiteralDelimeters
- delimiter charspublic boolean isCompatible()
isCompatible
in interface ILanguageImpl
public void setCompatible(boolean pCompatible)
isCompatible()
description.pCompatible
- if implementation "compatible"public boolean isDefault()
public void setDefault(boolean pDefault)
pDefault
- if language is defaultpublic oracle.odi.domain.topology.language.OdiLanguage getOverriddenLanguage()
getOverriddenLanguage
in interface ILanguageImpl
public OdiTechnology getTechnology()
public java.util.Collection getImplementedElements()
getImplementedElements
in interface ILanguageImpl
public java.lang.String getName()
ILanguage
getName
in interface IModelObject
getName
in interface ILanguage
public java.util.Collection getSubLanguages()
ILanguage
getSubLanguages
in interface ILanguage
public java.util.List getAllElements()
ILanguage
getAllElements
in interface ILanguage