public abstract class AbstractPart extends Object implements IPart
| Constructor and Description |
|---|
AbstractPart(String name,
IPart parentPart)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(IPartProperty property)
Adds a property to the part.
|
String |
getName() |
IPart |
getParent() |
int |
getPartLevel() |
IPartProperty |
getProperty(PropertyType propertyType)
Returns a property of the part : if in this part, one exists of the given type.
|
boolean |
hasProperty(PropertyType propertyType)
Checks if a property of the given type exists in this part.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFrame, updateFrame, updateFrame, updateFramepublic final boolean hasProperty(PropertyType propertyType)
hasProperty in interface IPartpropertyType - the typepublic final void addProperty(IPartProperty property)
addProperty in interface IPartproperty - the propertypublic final IPartProperty getProperty(PropertyType propertyType)
getProperty in interface IPartpropertyType - the type of the wanted propertypublic final String getName()
public final IPart getParent()
public final int getPartLevel()
getPartLevel in interface IPartCopyright © 2020 CNES. All rights reserved.