Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

RSE
Release 3.0

org.eclipse.rse.core.references
Interface IRSEBaseReferencedObject

All Known Subinterfaces:
IRSEBasePersistableReferencedObject, IRSEPersistableReferencedObject, IRSEReferencedObject, ISystemFilter, ISystemFilterPool, ISystemFilterString
All Known Implementing Classes:
SystemReferencedObject

public interface IRSEBaseReferencedObject

Interface that any master object that is referenced must implement.


Method Summary
 int addReference ( IRSEBaseReferencingObject ref)
          Add a reference, increment reference count, return new count
 int getReferenceCount ()
          Return a count of how many referencing objects reference this object.
  IRSEBaseReferencingObject[] getReferencingObjects ()
           
 void removeAllReferences ()
          Clear the list of referenced objects.
 int removeReference ( IRSEBaseReferencingObject ref)
          Remove a reference, decrement reference count, return new count
 

Method Detail

addReference

int addReference(
IRSEBaseReferencingObject ref)
Add a reference, increment reference count, return new count

Parameters:
ref - the referencing object from which this object will now be referenced.
Returns:
new count of how many referencing objects reference this object.

removeReference

int removeReference(
IRSEBaseReferencingObject ref)
Remove a reference, decrement reference count, return new count

Parameters:
ref - the referencing object from which this object is no longer referenced.
Returns:
new count of how many referencing objects reference this object.

getReferenceCount

int getReferenceCount()
Return a count of how many referencing objects reference this object.

Returns:
a count of how many referencing objects reference this object.

removeAllReferences

void removeAllReferences()
Clear the list of referenced objects.


getReferencingObjects

IRSEBaseReferencingObject[] getReferencingObjects()
Returns:
a list of all referencing objects of this object

RSE
Release 3.0

Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire