Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

oracle.jbo.common
Class PropertyGroup

java.lang.Object
  extended byoracle.jbo.common.PropertyGroup

public final class PropertyGroup
extends java.lang.Object

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

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

This constant exposes its extent via the getGroups() call. The objects returned can be used in the query against the Property metadata eg. PropertyMetadata.getProperties(PropertyGroup x)

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

Since:
9.0.4 05Nov02

Field Summary
static PropertyGroup AMPOOL
           
static PropertyGroup CORE
           
static PropertyGroup DATABASE
           
static PropertyGroup DEPRECATED
           
static PropertyGroup DIAGNOSTIC
           
static PropertyGroup EJB
           
 int id
           
static PropertyGroup INTERNAL
           
static PropertyGroup ORD
           
static PropertyGroup SECURITY
           
 
Method Summary
 void add(PropertyMetadata pm)
           
static java.util.Enumeration elements()
           
 boolean equals(PropertyGroup x)
           
static PropertyGroup first()
           
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 java.util.Set getProperties()
          return an iterator onto a collection of PropertyMetadata objects in this group
static PropertyGroup last()
           
static void main(java.lang.String[] args)
          for testing only: dumps the groups to stdout
 PropertyGroup next()
           
 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 final int id

AMPOOL

public static final PropertyGroup AMPOOL

SECURITY

public static final PropertyGroup SECURITY

ORD

public static final PropertyGroup ORD

DIAGNOSTIC

public static final PropertyGroup DIAGNOSTIC

DATABASE

public static final PropertyGroup DATABASE

INTERNAL

public static final PropertyGroup INTERNAL

DEPRECATED

public static final PropertyGroup DEPRECATED

CORE

public static final PropertyGroup CORE

EJB

public static final PropertyGroup EJB
Method Detail

first

public static PropertyGroup first()

last

public static PropertyGroup last()

next

public PropertyGroup next()

elements

public static java.util.Enumeration elements()

toString

public java.lang.String toString()

equals

public boolean equals(PropertyGroup x)

add

public void add(PropertyMetadata pm)

getProperties

public java.util.Set getProperties()
return an iterator onto a collection of PropertyMetadata objects in this group


main

public static void main(java.lang.String[] args)
for testing only: dumps the groups to stdout


getName

public java.lang.String getName()

getDescription

public java.lang.String getDescription()

Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

 

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