Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.7.0)

E17060-04


oracle.odi.domain.topology
Class OdiLanguageImpl

java.lang.Object
  extended by oracle.odi.domain.support.BusinessObject
      extended by oracle.odi.domain.support.AbstractRepositoryEntity
          extended by oracle.odi.domain.topology.OdiLanguageImpl

All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, IRepositoryEntity

public class OdiLanguageImpl
extends oracle.odi.domain.support.AbstractRepositoryEntity

OdiLanguageImpl class represents ODI language implemented by some technology, allows overriding language settings on per-technology basis.

Since:
11.1.1..6.0
See Also:
Serialized Form

Nested Class Summary
static class OdiLanguageImpl.OdiLanguageImplId
          Implements the composite key for OdiLanguageImpl.

 

Method Summary
 java.util.Collection<OdiLanguageElementImpl> 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.
 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.
 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.

 

Methods inherited from class oracle.odi.domain.support.BusinessObject
clone

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getInternalId

public java.io.Serializable getInternalId()
Description copied from interface: IRepositoryEntity
Provides a common getter for the persistence layer to obtain an identity, irrespective of the actual type of identity used.

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.

Returns:
the persistence identity of this instance

getSecurityContainer

public IRepositoryEntity getSecurityContainer()
Description copied from interface: IRepositoryEntity
Define a generic way to retrieve container for entities.
Returns:
container entity

isKeywordsCaseSensitive

public boolean isKeywordsCaseSensitive()
Returns true if keywords are case sensitive for this language's implementation and false otherwise.
Returns:
if language's keywords are case sensitive

setKeywordsCaseCensitive

public void setKeywordsCaseCensitive(boolean pKeywordsCaseSensitive)
Sets if keywords are case-sensitive for this language's implementation.
Parameters:
pKeywordsCaseSensitive - if keywords are case sensitive

isObjectNamesCaseSensitive

public boolean isObjectNamesCaseSensitive()
Returns true if object names are case sensitive for this language's implementation and false otherwise.
Returns:
if object names are case sensitive

setObjectNamesCaseSensitive

public void setObjectNamesCaseSensitive(boolean pObjectNamesCaseSensitive)
Sets if object names are case-sensitive for this language's implementation.
Parameters:
pObjectNamesCaseSensitive - if object names are case-sensitive

getWordSeparators

public char[] getWordSeparators()
Returns chars which are word separators for this language's implementation. Returns language's default value if was not overridden by this implementation.
Returns:
array of word separator chars

setWordSeparators

public void setWordSeparators(char[] pWordSeparators)
Sets chars that can be used as word separators.
Parameters:
pWordSeparators - separator chars

getObjectDelimeters

public char[] getObjectDelimeters()
Returns pair of characters which are object delimiters for this language's implementation. Returns language's default value if was not overridden by this implementation.
Returns:
pair of object delimiter chars

setObjectDelimeters

public void setObjectDelimeters(char[] pObjectDelimeters)
Sets char pair that can be used as object delimiters.
Parameters:
pObjectDelimeters - delimiter chars

getLiteralDelimeters

public char[] getLiteralDelimeters()
Returns pair of characters which are literal delimiters for this language's implementation. Returns language's default value if was not overridden by this implementation.
Returns:
delimiter chars

setLiteralDelimeters

public void setLiteralDelimeters(char[][] pLiteralDelimeters)
Sets char pair that can be used as literal delimiters.
Parameters:
pLiteralDelimeters - delimiter chars

isCompatible

public boolean isCompatible()
Returns true if Language Elements marked as "Standard" are applicable to this technology. Note that the language elements marked as "Universal" are systematically added for all the technologies.
Returns:
if implementation is "compatible"

setCompatible

public void setCompatible(boolean pCompatible)
Sets this language as "compatible" see isCompatible() description.
Parameters:
pCompatible - if implementation "compatible"

isDefault

public boolean isDefault()
Returns true if the language is the default language for this technology.
Returns:
if the language is default

setDefault

public void setDefault(boolean pDefault)
Sets this language as default for the technology. Note that only one language is taken into account by ODI. As a consequence, it's useless to define more than one language for a given technology.
Parameters:
pDefault - if language is default

getOverriddenLanguage

public oracle.odi.domain.topology.language.OdiLanguage getOverriddenLanguage()
Returns OdiLanguage instance this instance implements.
Returns:
OdiLanguage instance

getTechnology

public OdiTechnology getTechnology()
Returns OdiTechnology this implementation belongs to.
Returns:
OdiTechnology instance

getImplementedElements

public java.util.Collection<OdiLanguageElementImpl> getImplementedElements()
Returns list of language element implementations if any.
Returns:

Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.7.0)

E17060-04


Copyright © 2010, 2013, Oracle and/or its affiliates. All rights reserved.