Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.javatools.patch
Class PatchEntry

java.lang.Object
  extended by oracle.javatools.patch.PatchEntry

public class PatchEntry
extends java.lang.Object

This class is the model class for data in a patch entry, owned by a PatchModel.

Since:
10.1.3.0.3

Constructor Summary
PatchEntry()
           
 
Method Summary
 void addHunk(PatchHunk hunk)
          Adds a PatchHunk instance to the patch entry.
 java.lang.String getFromFile()
          Gets the from-file value for the patch entry.
 java.util.Date getFromFileModificationTime()
          Gets the from-file modification time for the patch entry.
 java.lang.String getFromFileRevision()
          Gets the from-file revision number for the patch entry.
 PatchHunk[] getHunks()
          Gets all PatchHunk instances in the patch entry.
 java.lang.String getToFile()
          Gets the to-file value for the patch entry.
 java.util.Date getToFileModificationTime()
          Gets the to-file modification time for the patch entry.
 java.lang.String getToFileRevision()
          Gets the to-file revision number for the patch entry.
 void setFromFile(java.lang.String fromFile)
          Sets the from-file value for the patch entry.
 void setFromFileModificationTime(java.util.Date fromFileModTime)
          Sets the from-file modification time for the patch entry.
 void setFromFileRevision(java.lang.String fromFileRevision)
          Sets the from-file revision number for the patch entry.
 void setToFile(java.lang.String toFile)
          Sets the to-file value for the patch entry.
 void setToFileModificationTime(java.util.Date toFileModTime)
          Sets the to-file modification time for the patch entry.
 void setToFileRevision(java.lang.String toFileRevision)
          Sets the to-file revision number for the patch entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatchEntry

public PatchEntry()
Method Detail

setFromFile

public void setFromFile(java.lang.String fromFile)
Sets the from-file value for the patch entry.

Parameters:
fromFile - the from-file value.

getFromFile

public java.lang.String getFromFile()
Gets the from-file value for the patch entry.

Returns:
the from-file value.

setFromFileModificationTime

public void setFromFileModificationTime(java.util.Date fromFileModTime)
Sets the from-file modification time for the patch entry.

Parameters:
fromFileModTime - the from-file modification time.

getFromFileModificationTime

public java.util.Date getFromFileModificationTime()
Gets the from-file modification time for the patch entry.

Returns:
the from-file modification time

setToFile

public void setToFile(java.lang.String toFile)
Sets the to-file value for the patch entry.

Parameters:
toFile - the to-file value.

getToFile

public java.lang.String getToFile()
Gets the to-file value for the patch entry.

Returns:
the to-file value.

setToFileModificationTime

public void setToFileModificationTime(java.util.Date toFileModTime)
Sets the to-file modification time for the patch entry.

Parameters:
toFileModTime - the to-file modification time.

getToFileModificationTime

public java.util.Date getToFileModificationTime()
Gets the to-file modification time for the patch entry.

Returns:
the to-file modification time.

setFromFileRevision

public void setFromFileRevision(java.lang.String fromFileRevision)
Sets the from-file revision number for the patch entry.

Parameters:
fromFileRevision - the from-file revision number.

getFromFileRevision

public java.lang.String getFromFileRevision()
Gets the from-file revision number for the patch entry.

Returns:
the from-file revision number.

setToFileRevision

public void setToFileRevision(java.lang.String toFileRevision)
Sets the to-file revision number for the patch entry.

Parameters:
toFileRevision - the to-file revision number.

getToFileRevision

public java.lang.String getToFileRevision()
Gets the to-file revision number for the patch entry.

Returns:
the to-file revision number.

addHunk

public void addHunk(PatchHunk hunk)
Adds a PatchHunk instance to the patch entry.

Parameters:
hunk - the patch hunk.

getHunks

public PatchHunk[] getHunks()
Gets all PatchHunk instances in the patch entry.

Returns:
an array of all patch hunks.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

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