public class RawType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, Revivable, ShortDumpable, JaxbVisitable
Constructor and Description |
---|
RawType(PrismContext prismContext) |
RawType(PrismValue parsed,
QName explicitTypeName,
PrismContext prismContext) |
RawType(XNode node,
PrismContext prismContext) |
Modifier and Type | Method and Description |
---|---|
void |
accept(JaxbVisitor visitor) |
RawType |
clone() |
static RawType |
create(String value,
PrismContext prismContext) |
static RawType |
create(XNode node,
PrismContext prismContext) |
boolean |
equals(Object obj) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object that,
org.jvnet.jaxb2_commons.lang.EqualsStrategy equalsStrategy) |
String |
extractString()
TEMPORARY.
|
String |
extractString(String defaultValue) |
static RawType |
fromPropertyRealValue(Object realValue,
QName explicitTypeName,
PrismContext prismContext) |
PrismValue |
getAlreadyParsedValue() |
QName |
getExplicitTypeName() |
<IV extends PrismValue,ID extends ItemDefinition> |
getParsedItem(ID itemDefinition) |
<IV extends PrismValue,ID extends ItemDefinition> |
getParsedItem(ID itemDefinition,
QName itemName) |
<T> T |
getParsedRealValue(Class<T> clazz) |
<V,ID extends ItemDefinition> |
getParsedRealValue(ID itemDefinition,
ItemPath itemPath) |
<IV extends PrismValue,ID extends ItemDefinition> |
getParsedValue(ItemDefinition itemDefinition,
QName itemName) |
PrismContext |
getPrismContext() |
RootXNode |
getRootXNode(QName itemName) |
Object |
getValue() |
Object |
getValue(boolean store)
Extracts a "real value" from RawType object without expecting any specific type beforehand.
|
static Object |
getValue(Object value)
Extracts a "real value" from a potential RawType object without expecting any specific type beforehand.
|
XNode |
getXnode() |
String |
guessFormattedValue() |
int |
hashCode() |
boolean |
isParsed() |
void |
revive(PrismContext prismContext) |
XNode |
serializeToXNode() |
void |
shortDump(StringBuilder sb)
Show the content of the object intended for diagnostics.
|
String |
toString() |
finalize, getClass, notify, notifyAll, wait, wait, wait
shortDump, shortDumpLazily
visitPrismStructure
public RawType(PrismContext prismContext)
public RawType(XNode node, @NotNull PrismContext prismContext)
public RawType(PrismValue parsed, QName explicitTypeName, @NotNull PrismContext prismContext)
public static RawType fromPropertyRealValue(Object realValue, QName explicitTypeName, @NotNull PrismContext prismContext)
public static Object getValue(Object value) throws SchemaException
SchemaException
public Object getValue() throws SchemaException
SchemaException
public Object getValue(boolean store) throws SchemaException
SchemaException
public String extractString()
public void revive(PrismContext prismContext) throws SchemaException
revive
in interface Revivable
SchemaException
public XNode getXnode()
public PrismContext getPrismContext()
public QName getExplicitTypeName()
public <IV extends PrismValue,ID extends ItemDefinition> IV getParsedValue(@Nullable ItemDefinition itemDefinition, @Nullable QName itemName) throws SchemaException
SchemaException
public <V,ID extends ItemDefinition> V getParsedRealValue(ID itemDefinition, ItemPath itemPath) throws SchemaException
SchemaException
public PrismValue getAlreadyParsedValue()
public <T> T getParsedRealValue(@NotNull Class<T> clazz) throws SchemaException
SchemaException
public <IV extends PrismValue,ID extends ItemDefinition> Item<IV,ID> getParsedItem(ID itemDefinition) throws SchemaException
SchemaException
public <IV extends PrismValue,ID extends ItemDefinition> Item<IV,ID> getParsedItem(ID itemDefinition, QName itemName) throws SchemaException
SchemaException
public XNode serializeToXNode() throws SchemaException
SchemaException
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object that, org.jvnet.jaxb2_commons.lang.EqualsStrategy equalsStrategy)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public static RawType create(String value, PrismContext prismContext)
public static RawType create(XNode node, PrismContext prismContext)
public void shortDump(StringBuilder sb)
ShortDumpable
shortDump
in interface ShortDumpable
sb
- StringBuilder to which to a compact one-line content of the object intended
for diagnostics by system administrator should be appended.public boolean isParsed()
public String guessFormattedValue() throws SchemaException
SchemaException
public void accept(JaxbVisitor visitor)
accept
in interface JaxbVisitable
Copyright © 2019 Evolveum. All rights reserved.