EGF Engine
Release 0.1.0

org.eclipse.egf.common.descriptor
Interface IDescriptor

All Known Subinterfaces:
IContextDescriptor, IContextElementDescriptor, IContractDescriptor, IContractElementDescriptor, IContractElementReferenceDescriptor, IEmfExtensionDescriptor, IFactoryComponentDescriptor, IFactoryComponentInvocationDescriptor, IProductionPlanDescriptor, ITaskFactoryDescriptor, ITypedDescriptor
All Known Implementing Classes:
EmfExtensionDescriptor, GenericDescriptor

public interface IDescriptor

Base interface to implement a model object descriptor.
Each model object property can be get through getValue(String) method.


Method Summary
 List<IDescriptor> getChildren()
          Get children descriptors, if any.
 IDescriptor getParent()
          Get parent descriptor, if it was set by the reading algorithm.
 Object getValue(String propertyName_p)
          Return the value set for the specified property name.
 

Method Detail

getValue

Object getValue(String propertyName_p)
Return the value set for the specified property name.

Parameters:
propertyName_p - the property name must be unique.
Returns:
the object value or null if not found.

getParent

IDescriptor getParent()
Get parent descriptor, if it was set by the reading algorithm.

Returns:
null if this information is not available, or if it has none.

getChildren

List<IDescriptor> getChildren()
Get children descriptors, if any.

Returns:

EGF Engine
Release 0.1.0

Copyright (c) Thales Corporate Services S.A.S, 2009.

This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.