Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-04

oracle.jbo.service.helper
Class SDOViewBuilderSrcImpl

java.lang.Object
  extended by oracle.jbo.service.helper.SDOViewBuilderSrcImpl
All Implemented Interfaces:
SDOBuilderSrc

public abstract class SDOViewBuilderSrcImpl
extends java.lang.Object
implements SDOBuilderSrc

Since:
11.1.1.1.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface oracle.jbo.service.helper.SDOBuilderSrc
SDOBuilderSrc.MimeTypeProperty
 
Field Summary
protected  ViewDefImpl mView
           
protected  ViewLinkDefImpl mViewLink
           
 
Constructor Summary
SDOViewBuilderSrcImpl(ViewDefImpl view)
           
SDOViewBuilderSrcImpl(ViewLinkDefImpl viewLink)
           
 
Method Summary
 java.lang.Object getDefault()
          Gets the default value for this source.
 java.lang.String getJavaTypeName()
          Gets the sdoJava:instanceClass annotation for this source.
 java.util.List<java.lang.String> getKeyPropertyNames()
          Gets the names of the properties that represent the Key for this source.
 SDOBuilderSrc.MimeTypeProperty getMimeTypeProperty()
          Gets the mime type for this source.
 commonj.sdo.Type getSDOType()
          Gets the SDO Type for this source.
protected  commonj.sdo.Type getSDOType(ViewDefImpl viewDef)
           
 commonj.sdo.Type getXMLDataTypeProperty()
          Gets the sdoXML:dataType annotation for this source.
 java.lang.String getXMLName()
          Gets the name property for this source.
 java.lang.String getXMLNamespace()
          Gets the uri property for this source.
 java.lang.String getXMLTypeName()
          Gets the name of the type for this source.
 boolean isMany()
          Returns true if instances of this property is many-valued.
 boolean isNullable()
          Returns true if instances of this property can be set to null.
 boolean isSimpleType()
          Returns true if this source specifies a data type and false if this source specifies a DataObject.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.jbo.service.helper.SDOBuilderSrc
getBaseTypes, getProperties, getSchemaLocation
 

Field Detail

mViewLink

protected ViewLinkDefImpl mViewLink

mView

protected ViewDefImpl mView
Constructor Detail

SDOViewBuilderSrcImpl

public SDOViewBuilderSrcImpl(ViewDefImpl view)

SDOViewBuilderSrcImpl

public SDOViewBuilderSrcImpl(ViewLinkDefImpl viewLink)
Method Detail

getDefault

public java.lang.Object getDefault()
Description copied from interface: SDOBuilderSrc
Gets the default value for this source.

Only applicable to simple types.

Specified by:
getDefault in interface SDOBuilderSrc
Returns:
the default value for this source.

getJavaTypeName

public java.lang.String getJavaTypeName()
Description copied from interface: SDOBuilderSrc
Gets the sdoJava:instanceClass annotation for this source.

Specified by:
getJavaTypeName in interface SDOBuilderSrc
Returns:
the full class name used to implement the SDO Type.

getKeyPropertyNames

public java.util.List<java.lang.String> getKeyPropertyNames()
Description copied from interface: SDOBuilderSrc
Gets the names of the properties that represent the Key for this source.

Only applicable to complex types.

Specified by:
getKeyPropertyNames in interface SDOBuilderSrc
Returns:
the list of Key properties.

getMimeTypeProperty

public SDOBuilderSrc.MimeTypeProperty getMimeTypeProperty()
Description copied from interface: SDOBuilderSrc
Gets the mime type for this source. The mime type value can be either a constant mime type or the name of another property on the same container data object from which to get the mime type value.

Only applicable to simple types.

Specified by:
getMimeTypeProperty in interface SDOBuilderSrc
Returns:
the mime type for this source.

getSDOType

public commonj.sdo.Type getSDOType()
Description copied from interface: SDOBuilderSrc
Gets the SDO Type for this source.

Only applicable to simple types.

Specified by:
getSDOType in interface SDOBuilderSrc
Returns:
the SDO Type for this source.

getXMLDataTypeProperty

public commonj.sdo.Type getXMLDataTypeProperty()
Description copied from interface: SDOBuilderSrc
Gets the sdoXML:dataType annotation for this source. This is used to override the default Java type mapping during SDO class generation.

Specified by:
getXMLDataTypeProperty in interface SDOBuilderSrc
Returns:
the SDO Type for XSD Types as a means to override the instance class.

getXMLName

public java.lang.String getXMLName()
Description copied from interface: SDOBuilderSrc
Gets the name property for this source.

Specified by:
getXMLName in interface SDOBuilderSrc
Returns:
name for this source.

getXMLNamespace

public java.lang.String getXMLNamespace()
Description copied from interface: SDOBuilderSrc
Gets the uri property for this source.

Specified by:
getXMLNamespace in interface SDOBuilderSrc
Returns:
uri for this source.

getXMLTypeName

public java.lang.String getXMLTypeName()
Description copied from interface: SDOBuilderSrc
Gets the name of the type for this source.

Specified by:
getXMLTypeName in interface SDOBuilderSrc
Returns:
name of the SDO Type.

isMany

public boolean isMany()
Description copied from interface: SDOBuilderSrc
Returns true if instances of this property is many-valued.

Specified by:
isMany in interface SDOBuilderSrc
Returns:
whether the property is many-valued.

isNullable

public boolean isNullable()
Description copied from interface: SDOBuilderSrc
Returns true if instances of this property can be set to null.

Specified by:
isNullable in interface SDOBuilderSrc
Returns:
whether the property can be set to null.

isSimpleType

public boolean isSimpleType()
Description copied from interface: SDOBuilderSrc
Returns true if this source specifies a data type and false if this source specifies a DataObject.

Specified by:
isSimpleType in interface SDOBuilderSrc
Returns:
whether the SDO Type is a data type.

getSDOType

protected commonj.sdo.Type getSDOType(ViewDefImpl viewDef)

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-04

Copyright © 1997, 2010, Oracle. All rights reserved.