Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.5.0)

E10653-06


oracle.jbo.common
Class Owner

java.lang.Object
  extended by oracle.jbo.common.Owner


public final class Owner
extends java.lang.Object

This is a simple example of a java type-safe constant.

Notice that the constructor is private, so the only instances of this object that can ever exist are those created in the static initializer.

Hence we have a controlled list of values, marshalled by this class.

Since:
3.1 note see the article by Eric Armstrong in JavaWorld, July 1997 "Create enumerated constants in Java"

Field Summary
static Owner CONFIGURATION
           
static Owner DIAGNOSTIC
           
 int id
           
static Owner MOM
           
 java.lang.String pAbbreviation
           
 java.lang.String pName
           
static Owner ROOTAM
           
static Owner SESSION
           

 

Method Summary
 boolean equals(Owner x)
           
 java.lang.String toString()
           

 

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

 

Field Detail

id

public int id

pName

public java.lang.String pName

pAbbreviation

public java.lang.String pAbbreviation

MOM

public static final Owner MOM

SESSION

public static final Owner SESSION

DIAGNOSTIC

public static final Owner DIAGNOSTIC

ROOTAM

public static final Owner ROOTAM

CONFIGURATION

public static final Owner CONFIGURATION

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(Owner x)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.5.0)

E10653-06


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