public interface BIDeclaration
Because of the setParent method, one customization declaration can be attached to one component alone.
Modifier and Type | Method and Description |
---|---|
Collection<BIDeclaration> |
getChildren()
Gets child
BIDeclaration s if any. |
Locator |
getLocation()
Gets the source location where this declaration was written.
|
QName |
getName()
Gets the name of this binding declaration,
which is the same as the tag name of the binding element.
|
boolean |
isAcknowledged()
Checks if this declaration was acknowledged.
|
void |
markAsAcknowledged()
Marks this declaration to be acknowledged -- either actually
used or the existence is admitted (for example when
a property customization is given at the point of definition.)
|
void |
onSetOwner()
Called when the parent
BindInfo got its owner set. |
void |
setParent(BindInfo parent)
Sets the parent BindInfo object of this declaration.
|
void setParent(BindInfo parent)
This method can be only called from BindInfo
,
and only once. This is a good opportunity to do some
follow-up initialization after JAXB unmarshalling
populated BIDeclaration
.
QName getName()
Locator getLocation()
void markAsAcknowledged()
Declarations that are not acknowledged will be considered as an error.
boolean isAcknowledged()
void onSetOwner()
BindInfo
got its owner set.
This is when declarations are connected to BGMBuilder
and
its sibling components.Collection<BIDeclaration> getChildren()
BIDeclaration
s if any.Copyright © 2021 JBoss by Red Hat. All rights reserved.