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(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <U> voidaccept(BeanNodeVisitor<U> visitor, U data)Accepts a visitor.voidaddChild(T node)booleanequals(java.lang.Object o)java.util.List<? extends SimpleBeanModelNode>getChildrenNodes()Returns the elements of the sequence.java.lang.StringgetPropertyName()Returns the name of the property that contains the collection.inthashCode()-
Methods inherited from class net.sourceforge.pmd.util.fxdesigner.util.beans.BeanModelNode
childrenAccept
-
-
-
-
Method Detail
-
addChild
public void addChild(T node)
-
getChildrenNodes
public java.util.List<? extends SimpleBeanModelNode> getChildrenNodes()
Returns the elements of the sequence.- Overrides:
getChildrenNodesin classBeanModelNode
-
getPropertyName
public java.lang.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:BeanModelNodeAccepts a visitor.- Specified by:
acceptin classBeanModelNode
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-