Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


oracle.wsm.policy.model.impl
Class VersionInfo

java.lang.Object
  extended by oracle.wsm.policy.model.impl.VersionInfo

All Implemented Interfaces:
Serializable, IVersionInfo

public class VersionInfo
extends Object
implements IVersionInfo
Since:
release specific (what release of product did this appear in)
Version:
$Header: owsm/src/oracle/wsm/policy/model/impl/VersionInfo.java /st_owsm/12 2008/09/25 01:46:48 vkdwived Exp $
Author:
pyamuna
See Also:
Serialized Form

Constructor Summary
VersionInfo(long version, long versionDate, String comments)
           
VersionInfo(long version, long versionDate, String comments, String creator)
           

 

Method Summary
 boolean equals(Object obj)
          Two policy can be equal based on version only other field not mandatory
 String getComments()
          Returns version comments.
 String getCreator()
          Returns Version creator
 long getDate()
          Returns the date on which the version was created.
 long getVersion()
          Returns the version number - ex: 1.0, 2.0, etc.
 int hashCode()
           
 void setComment(String comment)
          Set comment for this version
 String toString()
           

 

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

 

Constructor Detail

VersionInfo

public VersionInfo(long version,
                   long versionDate,
                   String comments)

VersionInfo

public VersionInfo(long version,
                   long versionDate,
                   String comments,
                   String creator)

Method Detail

getVersion

public long getVersion()
Returns the version number - ex: 1.0, 2.0, etc.
Specified by:
getVersion in interface IVersionInfo
Returns:

getDate

public long getDate()
Returns the date on which the version was created.
Specified by:
getDate in interface IVersionInfo
Returns:

getComments

public String getComments()
Returns version comments.
Specified by:
getComments in interface IVersionInfo
Returns:

getCreator

public String getCreator()
Returns Version creator
Specified by:
getCreator in interface IVersionInfo
Returns:
String

equals

public boolean equals(Object obj)
Two policy can be equal based on version only other field not mandatory
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

setComment

public void setComment(String comment)
Description copied from interface: IVersionInfo
Set comment for this version
Specified by:
setComment in interface IVersionInfo

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


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