@GwtCompatible public class TypedValue extends java.lang.Object implements JSONCacheable, DeepCloneable, com.appiancorp.type.HasTypeRef, java.io.Serializable, com.appiancorp.core.expr.portable.PortableTypedValue
Modifier and Type | Field and Description |
---|---|
static int |
ALWAYS |
static int |
AT_DESIGNER_DISCRETION |
protected boolean |
clearPasswordOnTransport |
static int |
NEVER |
protected static org.apache.commons.lang.builder.ToStringStyle |
TO_STRING_STYLE |
hiddenAttributes$TRANSIENT
Constructor and Description |
---|
TypedValue() |
TypedValue(java.lang.Long instanceType)
Creates an instance with the given type.
|
TypedValue(java.lang.Long instanceType,
java.lang.Object value_)
Creates an instance with the given type and value.
|
TypedValue(TypedValue tv_)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
clearPasswordOnTransport()
Deprecated.
This is an internal method that will be removed from the public API.
|
java.lang.Object |
clone()
Clone this object.
|
boolean |
equals(java.lang.Object o)
Compares the specified object with this typedValue for equality.
|
java.util.HashSet |
getHiddenAttributes()
Returns the set of attributes (properties) that should not be included in
the JSON representation of the object.
|
java.lang.Long |
getInstanceType()
Retrieves the type id, which corresponds to a
Datatype . |
static java.lang.Long[] |
getInstanceTypeIds(TypedValue[] tvs_)
Get the instance type ids (as a Long array) from an array of typed values.
|
com.appiancorp.type.TypeRef |
getTypeRef() |
java.lang.Object |
getValue()
Retrieves the value of this variable.
|
int |
hashCode() |
void |
setInstanceType(java.lang.Long instanceType)
Sets the instance type of the typed value.
|
void |
setTypeRef(com.appiancorp.type.TypeRef typeRef) |
void |
setValue(java.lang.Object value)
Sets the value of the typed variable.
|
java.lang.String |
toString() |
public static final int NEVER
public static final int ALWAYS
public static final int AT_DESIGNER_DISCRETION
protected transient boolean clearPasswordOnTransport
protected static final org.apache.commons.lang.builder.ToStringStyle TO_STRING_STYLE
public TypedValue()
public TypedValue(TypedValue tv_)
public TypedValue(java.lang.Long instanceType)
instanceType
- the type idpublic TypedValue(java.lang.Long instanceType, java.lang.Object value_)
instanceType
- the type idvalue_
- the valuepublic java.util.HashSet getHiddenAttributes()
JSONable
getHiddenAttributes
in interface JSONable
public java.lang.Object clone()
clone
in interface DeepCloneable
clone
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the object to be compared for equality with this typeValuepublic int hashCode()
hashCode
in class java.lang.Object
public final java.lang.Long getInstanceType()
Datatype
. Built-in
datatype ids are defined in AppianType
getInstanceType
in interface com.appiancorp.core.expr.portable.PortableTypedValue
public void setInstanceType(java.lang.Long instanceType)
instanceType
- The instance type id, which corresponds to a Datatype
.
Built-in datatype ids are defined in AppianType
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object getValue()
getValue
in interface com.appiancorp.core.expr.portable.PortableTypedValue
public void setValue(java.lang.Object value)
value
- The value to set the typed variable to.public static java.lang.Long[] getInstanceTypeIds(TypedValue[] tvs_)
tvs_
- an array of typed values@Deprecated public boolean clearPasswordOnTransport()
@Transient public final com.appiancorp.type.TypeRef getTypeRef()
getTypeRef
in interface com.appiancorp.type.HasTypeRef
public final void setTypeRef(com.appiancorp.type.TypeRef typeRef)
setTypeRef
in interface com.appiancorp.type.HasTypeRef
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.