|
|||||||||
| Home >> All >> com >> k_int >> IR >> [ Syntaxes overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.k_int.IR.Syntaxes
Class SurrogateDiagnostic

java.lang.Objectcom.k_int.IR.Syntaxes.SurrogateDiagnostic
- All Implemented Interfaces:
- com.k_int.IR.InformationFragment, java.io.Serializable
- public class SurrogateDiagnostic
- extends java.lang.Object
- implements com.k_int.IR.InformationFragment, java.io.Serializable
- extends java.lang.Object
SurrogateDiagnostic: A record that can be supplied in place of an actual result record when something goes wrong..
| Field Summary | |
private java.lang.Object |
handle
|
private java.lang.Object |
orig
|
private java.lang.String |
orig_schema
|
private java.lang.String |
reason
|
private java.lang.String |
source_collection_name
|
private java.lang.String |
source_repository
|
private com.k_int.IR.RecordFormatSpecification |
spec
|
| Constructor Summary | |
SurrogateDiagnostic(java.lang.Object source,
java.lang.String reason)
|
|
SurrogateDiagnostic(java.lang.String source_repository,
java.lang.String source_collection_name,
java.lang.Object source,
java.lang.String handle,
java.lang.String reason)
|
|
| Method Summary | |
org.w3c.dom.Document |
getDocument()
Get DOM representation for this object... |
java.lang.String |
getDocumentSchema()
|
com.k_int.IR.RecordFormatSpecification |
getFormatSpecification()
Describe the format of this fragment.. |
java.lang.Object |
getOriginalObject()
|
java.lang.String |
getOriginalObjectClassName()
|
java.lang.String |
getSourceCollectionName()
getSourceCollectionName: The ID of the collection from which the fragment came. |
java.lang.Object |
getSourceFragmentID()
|
java.lang.String |
getSourceRepositoryID()
getSourceRepositoryID : return a string that identifies the repository from which this record came. |
java.lang.String |
toString()
Convert this Object to a human-readable String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
source_repository
private java.lang.String source_repository
source_collection_name
private java.lang.String source_collection_name
orig_schema
private java.lang.String orig_schema
handle
private java.lang.Object handle
orig
private java.lang.Object orig
reason
private java.lang.String reason
spec
private com.k_int.IR.RecordFormatSpecification spec
| Constructor Detail |
SurrogateDiagnostic
public SurrogateDiagnostic(java.lang.Object source, java.lang.String reason)
SurrogateDiagnostic
public SurrogateDiagnostic(java.lang.String source_repository, java.lang.String source_collection_name, java.lang.Object source, java.lang.String handle, java.lang.String reason)
| Method Detail |
getOriginalObject
public java.lang.Object getOriginalObject()
- Specified by:
getOriginalObjectin interfacecom.k_int.IR.InformationFragment
getOriginalObjectClassName
public java.lang.String getOriginalObjectClassName()
- Specified by:
getOriginalObjectClassNamein interfacecom.k_int.IR.InformationFragment
getDocument
public org.w3c.dom.Document getDocument()
- Description copied from interface:
com.k_int.IR.InformationFragment - Get DOM representation for this object... Should take account of schemas when translating &
use namespaces where possible (E.G. gils, meta, generic namespace in converted GRS records)
- Specified by:
getDocumentin interfacecom.k_int.IR.InformationFragment
getDocumentSchema
public java.lang.String getDocumentSchema()
- Specified by:
getDocumentSchemain interfacecom.k_int.IR.InformationFragment
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
getSourceRepositoryID
public java.lang.String getSourceRepositoryID()
- Description copied from interface:
com.k_int.IR.InformationFragment - getSourceRepositoryID : return a string that identifies the repository from which this
record came. For example, "LC" might be used to identify the Library of Congress Z server.
- Specified by:
getSourceRepositoryIDin interfacecom.k_int.IR.InformationFragment
getSourceCollectionName
public java.lang.String getSourceCollectionName()
- Description copied from interface:
com.k_int.IR.InformationFragment - getSourceCollectionName: The ID of the collection from which the fragment came.
For example, z3950 database name
- Specified by:
getSourceCollectionNamein interfacecom.k_int.IR.InformationFragment
getSourceFragmentID
public java.lang.Object getSourceFragmentID()
- Specified by:
getSourceFragmentIDin interfacecom.k_int.IR.InformationFragment
getFormatSpecification
public com.k_int.IR.RecordFormatSpecification getFormatSpecification()
- Description copied from interface:
com.k_int.IR.InformationFragment - Describe the format of this fragment..
- Specified by:
getFormatSpecificationin interfacecom.k_int.IR.InformationFragment
|
|||||||||
| Home >> All >> com >> k_int >> IR >> [ Syntaxes overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.k_int.IR.Syntaxes.SurrogateDiagnostic