|
Oracle Fusion Middleware interMedia Domains Java API Reference for Oracle ADF Business Components 11g Release 1 (11.1.1.4.0) E10656-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ord.im.OrdImageSignatureBase oracle.ord.im.OrdImageSignature oracle.ord.im.OrdImageSignatureDomain
public class OrdImageSignatureDomain
Represents interMedia ORDSYS.ORDImageSignature database type as a domain class in the Business Components for Java (BC4J) framework. The methods in this class allow users to compare images for similarity.
OrdImageSignature
,
Serialized FormField Summary |
---|
Fields inherited from class oracle.ord.im.OrdImageSignature |
---|
_OrdImageSignatureCustomDatumFactory |
Fields inherited from class oracle.ord.im.OrdImageSignatureBase |
---|
__dataSource, __onn, _factory, _OrdImageSignatureBaseCustomDatumFactory, _OrdImageSignatureBaseFactory, _SQL_NAME, _SQL_TYPECODE, _sqlType, _struct |
Constructor Summary | |
---|---|
OrdImageSignatureDomain()
Constructs a new OrdImageSignatureDomain instance. |
Method Summary | |
---|---|
oracle.sql.ORAData |
create(oracle.sql.Datum d,
int sqlType)
Internal: Applications should not use this method. |
java.lang.Object |
createDomainFromSerializedXML(org.w3c.dom.Element element)
Create a domain instance by reading the xml-data out of the given xml-node. |
boolean |
equals(java.lang.Object obj)
Compares the signatures in the two OrdImageSignatureDomain
objects. |
static float |
evaluateScore(oracle.ord.im.OrdImageSignature signature1,
oracle.ord.im.OrdImageSignature signature2,
java.lang.String attrWeights)
|
void |
generateSignature(oracle.ord.im.OrdImage img)
|
void |
generateTempFilePath()
Internal: Applications should not use this method. |
java.lang.Object |
getCTPassivationHandle()
Internal: Applications should not use this method. |
static oracle.sql.CustomDatumFactory |
getCustomDatumFactory()
Internal: Applications should not use this method. |
java.lang.Object |
getData()
Internal: Applications should not use this method. |
static oracle.sql.CustomDatumFactory |
getFactory()
Deprecated. |
static oracle.sql.ORADataFactory |
getORADataFactory()
Returns the OrdImageSignatureDomain ORADataFactory for use by the
getORAData method. |
oracle.jbo.domain.DomainOwnerInterface |
getOwner()
Internal: Applications should not use this method. |
int |
getOwnerAttributeIndex()
Internal: Applications should not use this method. |
java.lang.String |
getRemoteIdString()
Internal: Applications should not use this method. |
org.w3c.dom.Node |
getSerializedDomainXML(org.w3c.dom.Document xmlDoc)
Creates the XML node in the given XML document for this domain's data. |
long |
getSize()
Internal: Applications should not use this method. |
int |
getTierInfo()
Gets the tier number information that this object lives in. |
org.w3c.dom.Node |
getXMLContentNode(org.w3c.dom.Document xmlDoc)
Internal: Applications should not use this method. |
static oracle.jbo.domain.XMLDomainFactory |
getXMLDomainFactory(java.lang.Class attrClass)
Internal: Applications should not use this method. |
protected java.lang.String |
getXMLElementTag()
|
boolean |
isAddedToTransaction()
Internal: Applications should not use this method. |
boolean |
isConnected()
Determines whether the domain object has an internal JDBC connection to the database. |
static int |
isSimilar(oracle.ord.im.OrdImageSignature signature1,
oracle.ord.im.OrdImageSignature signature2,
java.lang.String attrWeights,
float threshold)
|
void |
loadFromDatabase(oracle.jbo.Transaction xAct)
Internal: Applications should not use this method. |
void |
prepareForDML(java.lang.Object context)
Internal: Applications should not use this method. |
java.lang.String |
printXMLDefinition(java.util.Hashtable allDefs,
java.io.PrintWriter pw,
boolean bContainees)
Internal: Applications should not use this method. |
void |
removeListenerFromTransaction()
Internal: Applications should not use this method. |
void |
saveToDatabase(oracle.jbo.Transaction xAct)
Internal: Applications should not use this method. |
void |
saveToDatabase(oracle.jbo.Transaction xAct,
java.lang.Object emptySQLObject)
Internal: Applications should not use this method. |
void |
setAddToTransactionState(boolean value)
Internal: Applications should not use this method. |
void |
setConnected(boolean value)
Internal: Applications should not use this method. |
void |
setContext(oracle.jbo.domain.DomainOwnerInterface owner,
oracle.jbo.Transaction trans,
java.lang.Object ctx)
Internal: Applications should not use this method. |
void |
setCTPassivationHandle(java.lang.Object handle)
Internal: Applications should not use this method. |
void |
syncClientLob(oracle.jbo.domain.LobInterface newArrival)
Internal: Applications should not use this method. |
void |
syncServerLob(oracle.jbo.domain.LobInterface oldObj)
Internal: Applications should not use this method. |
java.lang.String |
toString()
Returns "OrdImageSignatureDomain". |
Methods inherited from class oracle.ord.im.OrdImageSignature |
---|
isConnectionNull |
Methods inherited from class oracle.ord.im.OrdImageSignatureBase |
---|
_init_struct, create, setContextFrom, setValueFrom, toDatum, toDatum |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OrdImageSignatureDomain()
OrdImageSignatureDomain
instance.
The user can insert a new row with an empty ORDSYS.OrdImageSignature SQL
object using the following code snippet:
OrdImageSignatureDomain sigDomain = new OrdImageSignatureDomain(); Row row = viewObject.createRow(); row.setAttribute("Signature", sigDomain); viewObject.insertRow(row); appModule.getTransaction().postChanges();
Method Detail |
---|
public static oracle.sql.ORADataFactory getORADataFactory()
OrdImageSignatureDomain ORADataFactory
for use by the
getORAData
method. Specify this method as the factory
parameter of the getORAData
method when retrieving an
OrdImageSignatureDomain
object from an OracleResultSet
or OracleCallableStatement
. For example:
OrdImageSignatureDomain sig = (OrdImageSignatureDomain)rset. getORAData( 1, OrdImageSignatureDomain.getORADataFactory() );
OrdImageSignatureDomain
implementation of the
ORADataFactory
interfacepublic static oracle.sql.CustomDatumFactory getFactory()
OrdImageSignatureDomain CustomDatumFactory
for use by the getCustomDatum
method. Specify this method
as the factory parameter of the getCustomDatum
method
when retrieving an OrdImageSignatureDomain
object from
an OracleResultSet
or OracleCallableStatement
. For example:
OrdImageSignatureDomain sig = (OrdImageSignatureDomain)rset.getCustomDatum( 1, OrdImageSignatureDomain.getFactory() );
OrdImageSignatureDomain
implementation of
the CustomDatumFactory
interfacepublic static oracle.sql.CustomDatumFactory getCustomDatumFactory()
public java.lang.Object getData()
getData
in interface oracle.jbo.domain.DomainInterface
public void setContext(oracle.jbo.domain.DomainOwnerInterface owner, oracle.jbo.Transaction trans, java.lang.Object ctx)
setContext
in interface oracle.jbo.domain.DomainInterface
public java.lang.String toString()
toString
in class java.lang.Object
public oracle.sql.ORAData create(oracle.sql.Datum d, int sqlType) throws java.sql.SQLException
create
in interface oracle.sql.ORADataFactory
create
in class oracle.ord.im.OrdImageSignatureBase
java.sql.SQLException
public static oracle.jbo.domain.XMLDomainFactory getXMLDomainFactory(java.lang.Class attrClass)
public org.w3c.dom.Node getXMLContentNode(org.w3c.dom.Document xmlDoc)
getXMLContentNode
in interface oracle.jbo.domain.XMLDomainInterface
public java.lang.Object createDomainFromSerializedXML(org.w3c.dom.Element element)
createDomainFromSerializedXML
in interface oracle.jbo.domain.XMLDomainReaderFactory
public org.w3c.dom.Node getSerializedDomainXML(org.w3c.dom.Document xmlDoc)
getSerializedDomainXML
in interface oracle.jbo.domain.XMLDomainWriter
xmlDoc
- name of the XML document in which the node should be created.public java.lang.String printXMLDefinition(java.util.Hashtable allDefs, java.io.PrintWriter pw, boolean bContainees)
printXMLDefinition
in interface oracle.jbo.domain.XMLDomainInterface
protected java.lang.String getXMLElementTag()
public boolean equals(java.lang.Object obj)
OrdImageSignatureDomain
objects.
equals
in class java.lang.Object
obj
- the object to be compared with this object
true
if the two OrdImageSignatureDomain
have the same signatures; otherwise, returns
false
public void generateSignature(oracle.ord.im.OrdImage img) throws java.sql.SQLException
generateSignature
in class oracle.ord.im.OrdImageSignature
java.sql.SQLException
public void syncServerLob(oracle.jbo.domain.LobInterface oldObj)
syncServerLob
in interface oracle.jbo.domain.LobInterface
public void syncClientLob(oracle.jbo.domain.LobInterface newArrival)
syncClientLob
in interface oracle.jbo.domain.LobInterface
public long getSize()
getSize
in interface oracle.jbo.domain.LobInterface
public java.lang.String getRemoteIdString()
getRemoteIdString
in interface oracle.jbo.domain.LobInterface
public void saveToDatabase(oracle.jbo.Transaction xAct) throws java.sql.SQLException
saveToDatabase
in interface oracle.jbo.domain.BlobDomainInterface
java.sql.SQLException
public void saveToDatabase(oracle.jbo.Transaction xAct, java.lang.Object emptySQLObject) throws java.sql.SQLException, java.io.IOException
saveToDatabase
in interface oracle.jbo.domain.BlobDomainInterface
java.sql.SQLException
java.io.IOException
public void prepareForDML(java.lang.Object context)
prepareForDML
in interface oracle.jbo.domain.BlobDomainInterface
public void loadFromDatabase(oracle.jbo.Transaction xAct) throws java.lang.Exception
loadFromDatabase
in interface oracle.jbo.domain.BlobDomainInterface
java.lang.Exception
public oracle.jbo.domain.DomainOwnerInterface getOwner()
getOwner
in interface oracle.jbo.domain.LobInterface
public int getOwnerAttributeIndex()
getOwnerAttributeIndex
in interface oracle.jbo.domain.LobInterface
public static int isSimilar(oracle.ord.im.OrdImageSignature signature1, oracle.ord.im.OrdImageSignature signature2, java.lang.String attrWeights, float threshold) throws java.sql.SQLException
java.sql.SQLException
public static float evaluateScore(oracle.ord.im.OrdImageSignature signature1, oracle.ord.im.OrdImageSignature signature2, java.lang.String attrWeights) throws java.sql.SQLException
java.sql.SQLException
public boolean isConnected()
OrdDomainState
isConnected
in interface OrdDomainState
true
if the there exists an internal JDBC
connection; otherwise, returns false
public int getTierInfo()
OrdDomainState
The returned value indicates the tier information.
getTierInfo
in interface OrdDomainState
public void setConnected(boolean value)
OrdDomainState
setConnected
in interface OrdDomainState
public void removeListenerFromTransaction()
OrdDomainState
removeListenerFromTransaction
in interface OrdDomainState
public boolean isAddedToTransaction()
OrdDomainState
isAddedToTransaction
in interface OrdDomainState
public void setAddToTransactionState(boolean value)
OrdDomainState
setAddToTransactionState
in interface OrdDomainState
public void setCTPassivationHandle(java.lang.Object handle)
setCTPassivationHandle
in interface OrdDomainSupportInterface
public java.lang.Object getCTPassivationHandle()
getCTPassivationHandle
in interface OrdDomainSupportInterface
public void generateTempFilePath()
generateTempFilePath
in interface OrdDomainSupportInterface
|
Oracle Fusion Middleware interMedia Domains Java API Reference for Oracle ADF Business Components 11g Release 1 (11.1.1.4.0) E10656-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |