Gridarta Editor
net.sf.gridarta.model.archetypetype.ArchetypeAttributeBitmask Class Reference

An ArchetypeAttribute for selecting bitmask values. More...

+ Inheritance diagram for net.sf.gridarta.model.archetypetype.ArchetypeAttributeBitmask:
+ Collaboration diagram for net.sf.gridarta.model.archetypetype.ArchetypeAttributeBitmask:

Public Member Functions

 ArchetypeAttributeBitmask (@NotNull final String archetypeAttributeName, @NotNull final String attributeName, @NotNull final String description, final int inputLength, @NotNull final String bitmaskName)
 Creates a new instance. More...
 
String getBitmaskName ()
 Returns the bitmask name. More...
 
void visit (@NotNull final ArchetypeAttributeVisitor visitor)
 Calls the. More...
 
- Public Member Functions inherited from net.sf.gridarta.model.archetypetype.ArchetypeAttribute
String getArchetypeAttributeName ()
 Returns the archetype attribute name. More...
 
String getAttributeName ()
 Returns the user interface attribute name. More...
 
String getDescription ()
 Returns the attribute's description. More...
 
int getInputLength ()
 Returns the input length in characters for text input fields. More...
 
String toString ()
 

Private Attributes

final String bitmaskName
 The bitmask name. More...
 

Additional Inherited Members

- Static Public Attributes inherited from net.sf.gridarta.model.archetypetype.ArchetypeAttribute
static final int TEXTFIELD_COLUMNS = 18
 The width (columns) for input fields like textfields or JChooseBoxes. More...
 
- Protected Member Functions inherited from net.sf.gridarta.model.archetypetype.ArchetypeAttribute
 ArchetypeAttribute (@NotNull final String archetypeAttributeName, @NotNull final String attributeName, @NotNull final String description, final int inputLength)
 Creates a new instance. More...
 

Detailed Description

An ArchetypeAttribute for selecting bitmask values.

Author
Andreas Vogl
Andreas Kirschbaum

Definition at line 29 of file ArchetypeAttributeBitmask.java.

Constructor & Destructor Documentation

◆ ArchetypeAttributeBitmask()

net.sf.gridarta.model.archetypetype.ArchetypeAttributeBitmask.ArchetypeAttributeBitmask ( @NotNull final String  archetypeAttributeName,
@NotNull final String  attributeName,
@NotNull final String  description,
final int  inputLength,
@NotNull final String  bitmaskName 
)

Creates a new instance.

Parameters
archetypeAttributeNamethe archetype attribute name
attributeNamethe user interface attribute name
descriptionthe attribute's description
inputLengththe input length in characters for text input fields
bitmaskNamethe bitmask name

Definition at line 45 of file ArchetypeAttributeBitmask.java.

References net.sf.gridarta.model.archetypetype.ArchetypeAttribute.archetypeAttributeName, net.sf.gridarta.model.archetypetype.ArchetypeAttribute.attributeName, net.sf.gridarta.model.archetypetype.ArchetypeAttributeBitmask.bitmaskName, net.sf.gridarta.model.archetypetype.ArchetypeAttribute.description, and net.sf.gridarta.model.archetypetype.ArchetypeAttribute.inputLength.

Member Function Documentation

◆ getBitmaskName()

String net.sf.gridarta.model.archetypetype.ArchetypeAttributeBitmask.getBitmaskName ( )

Returns the bitmask name.

Returns
the bitmask name

Definition at line 60 of file ArchetypeAttributeBitmask.java.

References net.sf.gridarta.model.archetypetype.ArchetypeAttributeBitmask.bitmaskName.

◆ visit()

void net.sf.gridarta.model.archetypetype.ArchetypeAttributeBitmask.visit ( @NotNull final ArchetypeAttributeVisitor  visitor)

Calls the.

function appropriate for this instance.

Parameters
visitorthe visitor to call

Reimplemented from net.sf.gridarta.model.archetypetype.ArchetypeAttribute.

Definition at line 51 of file ArchetypeAttributeBitmask.java.

Member Data Documentation

◆ bitmaskName

final String net.sf.gridarta.model.archetypetype.ArchetypeAttributeBitmask.bitmaskName
private

The documentation for this class was generated from the following file:
net.sf.gridarta.model.archetypetype.ArchetypeAttributeBitmask.visit
void visit(@NotNull final ArchetypeAttributeVisitor visitor)
Calls the.
Definition: ArchetypeAttributeBitmask.java:51