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
Answertopia.com

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

  




 

 


Eclipse JDT
Release 3.5

org.eclipse.jdt.core.dom
Class StructuralPropertyDescriptor


java.lang.Object
  extended by 
org.eclipse.jdt.core.dom.StructuralPropertyDescriptor
Direct Known Subclasses:
ChildListPropertyDescriptor, ChildPropertyDescriptor, SimplePropertyDescriptor

public abstract class StructuralPropertyDescriptor
extends Object

Abstract base class for property descriptors of AST nodes. There are three kinds of properties:

Since:
3.0
Restriction:
This class is not intended to be subclassed by clients.

Method Summary
  String getId ()
          Returns the id of this property.
  Class getNodeClass ()
          Returns the AST node type that owns this property.
 boolean isChildListProperty ()
          Returns whether this property is a child list property (instance of ChildListPropertyDescriptor.
 boolean isChildProperty ()
          Returns whether this property is a child property (instance of ChildPropertyDescriptor.
 boolean isSimpleProperty ()
          Returns whether this property is a simple property (instance of SimplePropertyDescriptor.
  String toString ()
          Returns a string suitable for debug purposes.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getId

public final 
String getId()
Returns the id of this property.

Returns:
the property id

getNodeClass

public final 
Class getNodeClass()
Returns the AST node type that owns this property.

For example, for all properties of the node type TypeDeclaration, this method returns TypeDeclaration.class.

Returns:
the node type that owns this property

isSimpleProperty

public final boolean isSimpleProperty()
Returns whether this property is a simple property (instance of SimplePropertyDescriptor.

Returns:
true if this is a simple property, and false otherwise

isChildProperty

public final boolean isChildProperty()
Returns whether this property is a child property (instance of ChildPropertyDescriptor.

Returns:
true if this is a child property, and false otherwise

isChildListProperty

public final boolean isChildListProperty()
Returns whether this property is a child list property (instance of ChildListPropertyDescriptor.

Returns:
true if this is a child list property, and false otherwise

toString

public 
String toString()
Returns a string suitable for debug purposes.

Overrides:
toString in class Object
Returns:

Eclipse JDT
Release 3.5

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

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