www.element4solution.com

e4s.html.input.extended
Class E4InputFieldName

java.lang.Object
  extended by e4s.util.E4Object
      extended by e4s.util.E4String
          extended by e4s.html.input.extended.E4InputFieldName
All Implemented Interfaces:
E4InputFieldName_Intf, java.lang.Comparable
Direct Known Subclasses:
E4EditingDataDescriptor.SimpleFieldName

public class E4InputFieldName
extends E4String
implements E4InputFieldName_Intf

Definition for an input field name to be used as identifier for input fields.

Since:
JDK 1.4

Field Summary
 
Fields inherited from class e4s.util.E4String
CLASSNAME, m_maxsize, m_nullable, m_string
 
Fields inherited from class e4s.util.E4Object
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET
 
Constructor Summary
E4InputFieldName(E4DBColumnInfo cInfo)
           
E4InputFieldName(E4DBColumnName name)
           
E4InputFieldName(E4InputFieldName_Intf name, int n)
          Concatenate "_" + n to the name.
E4InputFieldName(E4String name)
           
E4InputFieldName(java.lang.String name)
          Makes an instance using the uppercase value of name for the name of the input field.
E4InputFieldName(java.lang.String name, boolean nouppercase)
          Makes an instance using unchanged or uppercase value of name for the name of the input field.
E4InputFieldName(java.lang.String name, int n)
          Concatenate "_" + n to the name.
 
Method Summary
static java.lang.String _getSVNVersionString()
          Get version info string from subversion.
static E4InputFieldName ANY()
           
 E4InputFieldName append(java.lang.String s)
          Create a new instance of that E4InputFieldName by appending the specified String, keep the current object unchanged.
 boolean equals(E4InputFieldName_Intf name2)
          Test, if this fieldname equals the specified name.
 boolean equalsIgnoreCase(E4InputFieldName_Intf name2)
           
 java.lang.String getHtmlParamName()
          Get the name for the input field when used in an HTML context for input fields.
 java.lang.String getName()
          Get the name for the input field.
 
Methods inherited from class e4s.util.E4String
_equals, charAt, clone, compareTo, compareTo, compareTo, compareToIgnoreCase, compareToIgnoreCase, concat, concat, concat, concat, concat, cut, cut, endsWith, endsWith, equals, equals, equalsIgnoreCase, equalsIgnoreCase, fixed, fixedRight, getMaxSize, getNullable, getString, hashCode, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, left, left, length, matches, matchesIgnoreCase, regionMatches, regionMatches, regionMatches, regionMatches, remove, removeSpaces, removeSpaces, replace, replace, replace, replace, replace, replaceIgnoreCase, right, right, setMaxSize, setNullable, setString, startsWith, startsWith, startsWith, startsWith, substring, substring, toCharArray, toLowerCase, toLowerCase, toString, toUpperCase, toUpperCase, trim, validate
 
Methods inherited from class e4s.util.E4Object
Calendar, CName, CName, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelSys, E4LabelSys, e4sCopyright, e4sVersion, encode, encode, encode, encodeHtml, encodeHtml, encodeHtml, encodeURL, encodeURL, encodeURL, finalize, getLINE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTraceMemory, HtmlEncode, HtmlEncode, HtmlEncode, isdecimal, isdigit, isnotok, isnotok, isnumeric, isok, isok, isok, isok, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingStack, mkdirs, null2nbsp, null2nbsp, null2nbsp, ok, ok, ok, ok, outPrintln, setLogFile4Trace, setTraceMemory, STACKTRACE, toDebug, toDouble, toFloat, toFloat, TRACE_CALLS, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, wait
 
Methods inherited from class java.lang.Object
equals, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

E4InputFieldName

public E4InputFieldName(java.lang.String name)
Makes an instance using the uppercase value of name for the name of the input field.

Parameters:
name - the name of the input field

E4InputFieldName

public E4InputFieldName(java.lang.String name,
                        boolean nouppercase)
Makes an instance using unchanged or uppercase value of name for the name of the input field.

Parameters:
name - the name of the input field
nouppercase - true prevents conversion into uppercase characters

E4InputFieldName

public E4InputFieldName(E4String name)

E4InputFieldName

public E4InputFieldName(E4DBColumnName name)

E4InputFieldName

public E4InputFieldName(E4DBColumnInfo cInfo)

E4InputFieldName

public E4InputFieldName(E4InputFieldName_Intf name,
                        int n)
Concatenate "_" + n to the name.


E4InputFieldName

public E4InputFieldName(java.lang.String name,
                        int n)
Concatenate "_" + n to the name.

Method Detail

getName

public java.lang.String getName()
Get the name for the input field. This is the same as #getHtmlName().

Specified by:
getName in interface E4InputFieldName_Intf
Returns:
the name

getHtmlParamName

public java.lang.String getHtmlParamName()
Get the name for the input field when used in an HTML context for input fields. This is the same as getName().

Specified by:
getHtmlParamName in interface E4InputFieldName_Intf
Returns:
the name

append

public E4InputFieldName append(java.lang.String s)
Create a new instance of that E4InputFieldName by appending the specified String, keep the current object unchanged.

Parameters:
s - the String to be appended
Returns:
a new created object

ANY

public static E4InputFieldName ANY()

equals

public boolean equals(E4InputFieldName_Intf name2)
Description copied from interface: E4InputFieldName_Intf
Test, if this fieldname equals the specified name.

Specified by:
equals in interface E4InputFieldName_Intf
Parameters:
name2 - the name to be checked
Returns:
true, if E4InputFieldName_Intf.getName() matches.

equalsIgnoreCase

public boolean equalsIgnoreCase(E4InputFieldName_Intf name2)
Specified by:
equalsIgnoreCase in interface E4InputFieldName_Intf

_getSVNVersionString

public static java.lang.String _getSVNVersionString()
Get version info string from subversion.

Returns:
the version info string.
See Also:
E4Util.getRevisionCodeFromSVN(Class)

www.element4solution.com