com.evolveum.prism.xml.ns._public.types_2
Class PolyStringType

java.lang.Object
  extended by com.evolveum.prism.xml.ns._public.types_2.PolyStringType
All Implemented Interfaces:
DebugDumpable, Dumpable, java.io.Serializable, java.lang.Cloneable

public class PolyStringType
extends java.lang.Object
implements Dumpable, DebugDumpable, java.io.Serializable, java.lang.Cloneable

Polymorphic string. String that may have more than one representation at the same time. The primary representation is the original version that is composed of the full Unicode character set. The other versions may be normalized to trim it, normalize character case, normalize spaces, remove national characters or even transliterate the string. WARNING: THIS IS NOT A GENERATED CODE Although it was originally generated, it has local modifications.

Java class for PolyStringType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="PolyStringType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="orig" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="norm" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.util.List<java.lang.Object> any
           
static javax.xml.namespace.QName COMPLEX_TYPE
           
protected  java.lang.String norm
           
protected  java.lang.String orig
           
 
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
 
Constructor Summary
PolyStringType()
           
PolyStringType(PolyString polyString)
           
PolyStringType(java.lang.String orig)
           
 
Method Summary
 PolyStringType clone()
           
 java.lang.String debugDump()
          Show the content of the object intended for diagnostics by system administrator.
 java.lang.String debugDump(int indent)
           
 java.lang.String dump()
          Show the content of the object intended for diagnostics by developer.
 boolean equals(java.lang.Object obj)
           
 java.util.List<java.lang.Object> getAny()
          Gets the value of the any property.
 java.lang.String getNorm()
          Gets the value of the norm property.
 java.lang.String getOrig()
          Gets the value of the orig property.
 int hashCode()
           
 PolyStringType plus(PolyStringType operand)
           
 PolyStringType plus(java.lang.String operand)
          Plus method for ease of use of PolyStrings in groovy (mapped from + operator).
 void setNorm(java.lang.String value)
          Sets the value of the norm property.
 void setOrig(java.lang.String value)
          Sets the value of the orig property.
 PolyString toPolyString()
           
 java.lang.String toString()
          toString is tweaked to provide convenience and compatibility with normal strings.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

COMPLEX_TYPE

public static final javax.xml.namespace.QName COMPLEX_TYPE

orig

protected java.lang.String orig

norm

protected java.lang.String norm

any

protected java.util.List<java.lang.Object> any
Constructor Detail

PolyStringType

public PolyStringType()

PolyStringType

public PolyStringType(java.lang.String orig)

PolyStringType

public PolyStringType(PolyString polyString)
Method Detail

getOrig

public java.lang.String getOrig()
Gets the value of the orig property.

Returns:
possible object is String

setOrig

public void setOrig(java.lang.String value)
Sets the value of the orig property.

Parameters:
value - allowed object is String

getNorm

public java.lang.String getNorm()
Gets the value of the norm property.

Returns:
possible object is String

setNorm

public void setNorm(java.lang.String value)
Sets the value of the norm property.

Parameters:
value - allowed object is String

getAny

public java.util.List<java.lang.Object> getAny()
Gets the value of the any property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the any property.

For example, to add a new item, do as follows:

    getAny().add(newItem);
 

Objects of the following type(s) are allowed in the list Object


plus

public PolyStringType plus(java.lang.String operand)
Plus method for ease of use of PolyStrings in groovy (mapped from + operator).


plus

public PolyStringType plus(PolyStringType operand)

toPolyString

public PolyString toPolyString()

toString

public java.lang.String toString()
toString is tweaked to provide convenience and compatibility with normal strings. If PolyStringType is used in expressions that target the entire PolyString, the result will be the "orig" value of PolyString. WARNING: This method was NOT generated. If the code is re-generated then it must be manually re-introduced to the code.

Overrides:
toString in class java.lang.Object

debugDump

public java.lang.String debugDump()
Description copied from interface: DebugDumpable
Show the content of the object intended for diagnostics by system administrator. The out put should be suitable to use in system logs at "debug" level. It may be multi-line, but in that case it should be well indented and quite terse. As it is intended to be used by system administrator, it should not use any developer terms such as class names, exceptions or stack traces.

Specified by:
debugDump in interface DebugDumpable
Returns:
content of the object intended for diagnostics by system administrator.

debugDump

public java.lang.String debugDump(int indent)
Specified by:
debugDump in interface DebugDumpable

dump

public java.lang.String dump()
Description copied from interface: Dumpable
Show the content of the object intended for diagnostics by developer. The content may be multi-line, in case of hierarchical objects it may be intended. The use of this method may not be efficient. It is not supposed to be used in normal operation. However, it is very useful in tests or in case of dumping objects in severe error situations.

Specified by:
dump in interface Dumpable
Returns:
content of the object intended for diagnostics.

clone

public PolyStringType clone()
Overrides:
clone in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2012 evolveum. All Rights Reserved.