Skip navigation links

Oracle® Fusion Middleware Oracle Imaging and Process Management Java API Reference
11g Release 1 (11.1.1)

E12853-02


oracle.imaging
Class Input.SourceProperties

java.lang.Object
  extended by oracle.imaging.Input.SourceProperties

Enclosing class:
Input

public static class Input.SourceProperties
extends java.lang.Object

Constructor Summary
Input.SourceProperties()
           

 

Method Summary
 java.lang.String getDataSample()
          Fetches the Sample Data Source that is saved in the Input Definition.
 java.lang.String getDataSource()
          Returns the Input's data source setting.
 java.lang.String getInputSource()
          Retrieves the Input Source name that is currently saved in the Input Definition.
 java.lang.String getProperty(java.lang.String propertyKey)
          Get Property retrieves a specific configuration value for the Input Source.
 java.util.Set<java.lang.String> getPropertyKeySet()
          Retrieves a set property value keys currently configured for the Input Source.
protected  void prePersist()
           
 java.lang.String removeProperty(java.lang.String propertyKey)
          Removes a specific configuration value from the Input Source.
 void setDataSample(java.lang.String dataSample)
          Saves the Sample Data Source to the Input Definition.
 void setDataSource(java.lang.String newdataSource)
          This method saves the configuration parameter of where the Input data is coming from into the definition.
 void setInputSource(java.lang.String inputSource)
          Saves the name of the Input Source to associate with the Input definition.
 void setProperty(java.lang.String propertyKey, java.lang.String propertyValue)
          This saves a single setting into the Source Settings configuration set.

 

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

 

Constructor Detail

Input.SourceProperties

public Input.SourceProperties()

Method Detail

prePersist

protected void prePersist()

getDataSource

public java.lang.String getDataSource()
Returns the Input's data source setting.
Returns:
The string representation of where the Input pulls data from.

setDataSource

public void setDataSource(java.lang.String newdataSource)
This method saves the configuration parameter of where the Input data is coming from into the definition.
Parameters:
newdataSource - The string representing where the data is coming from, such as the file name.

getInputSource

public java.lang.String getInputSource()
Retrieves the Input Source name that is currently saved in the Input Definition.
Returns:
The name of the Input Source associated with the Input.

setInputSource

public void setInputSource(java.lang.String inputSource)
Saves the name of the Input Source to associate with the Input definition. The Input Source determines what parser will be used by the Input Services to read data in from the given data source.
Parameters:
inputSource - The name of the Input Source to use.

getDataSample

public java.lang.String getDataSample()
Fetches the Sample Data Source that is saved in the Input Definition. A Sample Data Source is an optional setting the Input Definition that allows the user to specify what sample data was used to create the definition mappings. This primarily used by the UI to be able to redisplay the sample data when the Input is being edited.
Returns:
The ID of the Sample Data Source that was used to create the Input.

setDataSample

public void setDataSample(java.lang.String dataSample)
Saves the Sample Data Source to the Input Definition.
Parameters:
dataSample - The ID of the sample data stream to save

getPropertyKeySet

public java.util.Set<java.lang.String> getPropertyKeySet()
Retrieves a set property value keys currently configured for the Input Source.
Returns:
The set of property keys.

getProperty

public java.lang.String getProperty(java.lang.String propertyKey)
Get Property retrieves a specific configuration value for the Input Source.
Parameters:
propertyKey - The key of the value to look up.
Returns:
The value associated to the key, or null if it is not found.

setProperty

public void setProperty(java.lang.String propertyKey,
                        java.lang.String propertyValue)
This saves a single setting into the Source Settings configuration set.
Parameters:
propertyKey - The index key to look up the information again latter.
propertyValue - The string representation of the value to save.

removeProperty

public java.lang.String removeProperty(java.lang.String propertyKey)
Removes a specific configuration value from the Input Source.
Parameters:
propertyKey - The key of the value to look up.
Returns:
The value associated to the key, or null if it is not found.

Skip navigation links

Oracle® Fusion Middleware Oracle Imaging and Process Management Java API Reference
11g Release 1 (11.1.1)

E12853-02


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