Class BeanModelNodeSeq<T extends SimpleBeanModelNode>
- java.lang.Object
-
- net.sourceforge.pmd.util.fxdesigner.util.beans.BeanModelNode
-
- net.sourceforge.pmd.util.fxdesigner.util.beans.BeanModelNodeSeq<T>
-
public class BeanModelNodeSeq<T extends SimpleBeanModelNode> extends BeanModelNode
Represents an indexed list of nodes sharing the same type. This type of node is flagged with aSettingsPersistenceUtil.PersistentSequence
, which is applied to a getter of a collection.- Since:
- 6.1.0
- Author:
- Clément Fournier
-
-
Constructor Summary
Constructors Constructor Description BeanModelNodeSeq(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <U> void
accept(BeanNodeVisitor<U> visitor, U data)
Accepts a visitor.void
addChild(T node)
boolean
equals(Object o)
List<? extends SimpleBeanModelNode>
getChildrenNodes()
Returns the elements of the sequence.String
getPropertyName()
Returns the name of the property that contains the collection.int
hashCode()
-
Methods inherited from class net.sourceforge.pmd.util.fxdesigner.util.beans.BeanModelNode
childrenAccept
-
-
-
-
Constructor Detail
-
BeanModelNodeSeq
public BeanModelNodeSeq(String name)
-
-
Method Detail
-
addChild
public void addChild(T node)
-
getChildrenNodes
public List<? extends SimpleBeanModelNode> getChildrenNodes()
Returns the elements of the sequence.- Overrides:
getChildrenNodes
in classBeanModelNode
-
getPropertyName
public String getPropertyName()
Returns the name of the property that contains the collection.
-
accept
protected <U> void accept(BeanNodeVisitor<U> visitor, U data)
Description copied from class:BeanModelNode
Accepts a visitor.- Specified by:
accept
in classBeanModelNode
-
-