org.netbeans.modules.editor.lib/1 1.44.0 9

org.netbeans.editor
Class AnnotationType.CombinationMember

java.lang.Object
  extended by org.netbeans.editor.AnnotationType.CombinationMember
Enclosing class:
AnnotationType

public static final class AnnotationType.CombinationMember
extends Object

Hepler class describing annotation type and whether all occurences of this type should be absorbed by combination or not. The annonation type which want to combine some other types, must define array of instances of this helper class. See AnnotationType.PROP_COMBINATIONS property.


Constructor Summary
AnnotationType.CombinationMember(String type, boolean absorbAll, boolean optional, int minimumCount)
           
AnnotationType.CombinationMember(String type, boolean absorbAll, boolean optional, String minimumCount)
           
 
Method Summary
 int getMinimumCount()
          Getter for MinimumCount property
 String getName()
          Gets name of the annotation type
 boolean isAbsorbAll()
          Getter for AbsorbAll property
 boolean isOptional()
          Getter for Optional property
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationType.CombinationMember

public AnnotationType.CombinationMember(String type,
                                        boolean absorbAll,
                                        boolean optional,
                                        int minimumCount)

AnnotationType.CombinationMember

public AnnotationType.CombinationMember(String type,
                                        boolean absorbAll,
                                        boolean optional,
                                        String minimumCount)
Method Detail

getName

public String getName()
Gets name of the annotation type


isAbsorbAll

public boolean isAbsorbAll()
Getter for AbsorbAll property


isOptional

public boolean isOptional()
Getter for Optional property


getMinimumCount

public int getMinimumCount()
Getter for MinimumCount property


org.netbeans.modules.editor.lib/1 1.44.0 9

Built on November 22 2009.  |  Portions Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.