| |||||
Previous Next |
The String type represents ASCII character strings, with a maximum of 255 characters. Literals have the same structure as Text ones.
Operation Summary | |
String | +(String rhs) Shorthand for concat. |
Boolean | checkBoolean Check if this string can be interpreted as a Boolean. |
Boolean | checkByte Check if this string can be interpreted as a Byte. |
Boolean | checkDate Check if this string can be interpreted as a Date. |
Boolean | checkDouble Check if this string can be interpreted as a Double. |
Boolean | checkFloat Check if this string can be interpreted as a Float. |
Boolean | checkInt Check if this string can be interpreted as an Int. |
Boolean | checkInteger Check if this string can be interpreted as an Integer. |
Boolean | checkLong Check if this string can be interpreted as a Int. |
Boolean | checkReal Check if this string can be interpreted as a Real. |
Boolean | checkShort Check if this string can be interpreted as a Short. |
Boolean | checkTime Check if this string can be interpreted as a Time. |
String | concat(String rhs) The concatenation of this string and rhs. |
Boolean | parseBoolean Returns the interpretation of this string as a Boolean. |
Byte | parseByte Returns the interpretation of this string as a Byte. |
Date | parseDate Returns the interpretation of this string as a Date. |
Double | parseDouble Returns the interpretation of this string as a Double. |
Float | parseFloat Returns the interpretation of this string as a Float. |
Int | parseInt Returns the interpretation of this string as an Integer. |
Integer | parseInteger Returns the interpretation of this string as an Integer. |
Long | parseLong Returns the interpretation of this string as a Long. |
Real | parseReal Returns the interpretation of this string as a Real. |
Short | parseShort Returns the interpretation of this string as a Short. |
Time | parseTime Returns the interpretation of this string as a Time. |
String | replace(String pattern, String replacment) This string where each occurence of the sub-string pattern is replaced by the sub-string replacment. |
String | substring(Integer from, Integer to) The sub-string of this string starting at character number from, up to and including character number to. |
String | toLower The value of this string with all uppercase characters converted to lowercase characters. |
String | toUpper The value of this string with all lowercase characters converted to uppercase characters. |
Operations inherited from type Text |
+, =, >=, >, <=, <, <>, concat, crypt, endsWith, equalsIgnoreCase, getChars, indexOf, indexOf, lastIndexOf, lastIndexOf, like, replace, size, startsWith |
Operations inherited from type OclAny |
=, <>, oclAsType, oclIsKindOf, oclIsTypeOf |
Operations Detail |
public Boolean checkReal
public Boolean checkInteger
public Boolean checkDouble
public Boolean checkFloat
public Boolean checkLong
public Boolean checkInt
public Boolean checkShort
public Boolean checkByte
public Boolean checkBoolean
public Boolean checkDate
public Boolean checkTime
public Real parseReal
public Integer parseInteger
public Double parseDouble
public Float parseFloat
public Long parseLong
public Int parseInt
public Short parseShort
public Byte parseByte
public Boolean parseBoolean
public Date parseDate
public Time parseTime
public String concat(String rhs)
public String +(String rhs)
public String toUpper
toUpper
in type Text
public String toLower
toLower
in type Text
public String substring(Integer from, Integer to)
substring
in type Text
public String replace(String pattern, String replacment)
| |||||
Previous Next |