| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Copyright 2008 Sun Microsystems, Inc. |
| | | * Copyright 2008-2010 Sun Microsystems, Inc. |
| | | */ |
| | | |
| | | package org.opends.guitools.controlpanel.ui.nodes; |
| | |
| | | public class AttributeSyntaxTreeNode extends SchemaElementTreeNode |
| | | { |
| | | private static final long serialVersionUID = 2439971368723239776L; |
| | | private AttributeSyntax syntax; |
| | | private AttributeSyntax<?> syntax; |
| | | |
| | | /** |
| | | * Constructor of the node. |
| | | * @param name the name of the node. |
| | | * @param syntax the attribute syntax. |
| | | */ |
| | | public AttributeSyntaxTreeNode(String name, AttributeSyntax syntax) |
| | | public AttributeSyntaxTreeNode(String name, AttributeSyntax<?> syntax) |
| | | { |
| | | super(name, syntax); |
| | | this.syntax = syntax; |
| | |
| | | * Returns the attribute syntax represented by this node. |
| | | * @return the attribute syntax represented by this node. |
| | | */ |
| | | public AttributeSyntax getAttributeSyntax() |
| | | public AttributeSyntax<?> getAttributeSyntax() |
| | | { |
| | | return syntax; |
| | | } |