Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.edit.language.model
Class LanguageModelAttribute

java.lang.Object
  extended by com.ibm.etools.iseries.edit.language.model.LanguageModelAttribute

public class LanguageModelAttribute
extends Object

This class represents a property of an element.


Field Summary
protected  boolean _bEditable
           
protected  String _strName
           
protected  String _strValue
           
static String Copyright
           
 
Constructor Summary
LanguageModelAttribute(String strName, String strValue, boolean bEditable)
          Constructor that receives an attribute name and value.
 
Method Summary
 String getName()
          Returns the name of the attribute.
 String getValue()
          Returns the value of the attribute.
 boolean isEditable()
          Returns whether this attribute is editable.
 void printAttribute()
          Debug method that prints the name, and value of this attribute with no indentation.
 void printAttribute(int iIndentation)
          Debug method that prints the indentation, name and value of this attribute.
 void printAttributeString(StringBuffer strb)
          Debug method that prints the name and value of this attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values

_bEditable

protected boolean _bEditable

_strName

protected String _strName

_strValue

protected String _strValue
Constructor Detail

LanguageModelAttribute

public LanguageModelAttribute(String strName,
                              String strValue,
                              boolean bEditable)
Constructor that receives an attribute name and value.

Method Detail

getName

public String getName()
Returns the name of the attribute.


getValue

public String getValue()
Returns the value of the attribute.


isEditable

public boolean isEditable()
Returns whether this attribute is editable.


printAttribute

public void printAttribute()
Debug method that prints the name, and value of this attribute with no indentation.


printAttribute

public void printAttribute(int iIndentation)
Debug method that prints the indentation, name and value of this attribute. This method is used when printing the entire, or a portion of the element tree.


printAttributeString

public void printAttributeString(StringBuffer strb)
Debug method that prints the name and value of this attribute. This method is used when printing elements and attributes.


Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.