Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.1.0)

E17483-02

oracle.jbo.service.helper
Class SDOViewAttrBuilderSrcImpl

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

public class SDOViewAttrBuilderSrcImpl
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
 
Constructor Summary
SDOViewAttrBuilderSrcImpl(ViewAttributeDefImpl viewAttr)
           
 
Method Summary
protected  java.lang.String getAttrJavaType()
           
 java.util.Map<commonj.sdo.Type,java.net.URL> getBaseTypes()
          Gets the list of base types (and their schema locations) for this source.
 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.
 java.util.List<SDOBuilderSrc> getProperties()
          Gets the list of child properties contained in this source.
 java.net.URL getSchemaLocation()
          Gets the schema location for this source, e.g.
 commonj.sdo.Type getSDOType()
          Gets the SDO Type for this source.
 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
 

Constructor Detail

SDOViewAttrBuilderSrcImpl

public SDOViewAttrBuilderSrcImpl(ViewAttributeDefImpl viewAttr)
Method Detail

getBaseTypes

public java.util.Map<commonj.sdo.Type,java.net.URL> getBaseTypes()
Description copied from interface: SDOBuilderSrc
Gets the list of base types (and their schema locations) for this source. Return an empty map if there are no base types.

Specified by:
getBaseTypes in interface SDOBuilderSrc
Returns:
the list of base types for this source.

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.

getProperties

public java.util.List<SDOBuilderSrc> getProperties()
Description copied from interface: SDOBuilderSrc
Gets the list of child properties contained in this source. Return an empty list if there are no children.

Specified by:
getProperties in interface SDOBuilderSrc
Returns:
the list of properties for this source.

getSchemaLocation

public java.net.URL getSchemaLocation()
Description copied from interface: SDOBuilderSrc
Gets the schema location for this source, e.g. file:/META-INF/wsdl/model/User.xsd. This URL is used for schema location resolution.

Specified by:
getSchemaLocation in interface SDOBuilderSrc
Returns:
the schema location 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.

getAttrJavaType

protected java.lang.String getAttrJavaType()

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.1.0)

E17483-02

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