org.apache.openjpa.jdbc.schema
Class ReferenceCounter

java.lang.Object
  extended by org.apache.openjpa.jdbc.schema.ReferenceCounter
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Column, Constraint, Sequence

 class ReferenceCounter
extends Object
implements Serializable

Some schema components count references so that unused components can be detected.

Author:
Abe White

Constructor Summary
ReferenceCounter()
           
 
Method Summary
 void deref()
           
 int getRefCount()
           
 void ref()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceCounter

ReferenceCounter()
Method Detail

getRefCount

public int getRefCount()

ref

public void ref()

deref

public void deref()


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.