public class OdiLanguageImpl extends 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() |
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.
|
IRepositoryEntity |
getSecurityContainer() |
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, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBigNumericId, getGlobalId, getNumericId
public java.io.Serializable getInternalId()
public IRepositoryEntity getSecurityContainer()
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 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