Modifier | Constructor and Description |
---|---|
protected |
JPAAnyUtils(AnyTypeKind anyTypeKind) |
protected |
JPAAnyUtils(AnyTypeKind anyTypeKind,
boolean linkedAccount) |
Modifier and Type | Method and Description |
---|---|
void |
addAttr(PlainAttrValidationManager validator,
String key,
PlainSchema schema,
String value) |
<T extends Any<?>> |
anyClass() |
AnyTypeKind |
anyTypeKind() |
<T extends PlainAttrValue> |
clonePlainAttrValue(T src) |
<A extends Any<?>> |
dao() |
Set<ExternalResource> |
getAllResources(Any<?> any) |
Field |
getField(String name) |
static boolean |
matchesFieldName(String candidate) |
<P extends AnyPatch> |
newAnyPatch(String key) |
<T extends AnyTO> |
newAnyTO() |
<T extends PlainAttr<?>> |
newPlainAttr() |
<T extends PlainAttrValue> |
newPlainAttrUniqueValue() |
<T extends PlainAttrValue> |
newPlainAttrValue() |
<T extends PlainAttr<?>> |
plainAttrClass() |
<T extends PlainAttrValue> |
plainAttrUniqueValueClass() |
<T extends PlainAttrValue> |
plainAttrValueClass() |
protected JPAAnyUtils(AnyTypeKind anyTypeKind)
protected JPAAnyUtils(AnyTypeKind anyTypeKind, boolean linkedAccount)
public static boolean matchesFieldName(String candidate)
public AnyTypeKind anyTypeKind()
anyTypeKind
in interface AnyUtils
public <T extends PlainAttr<?>> Class<T> plainAttrClass()
plainAttrClass
in interface AnyUtils
public <T extends PlainAttr<?>> T newPlainAttr()
newPlainAttr
in interface AnyUtils
public <T extends PlainAttrValue> Class<T> plainAttrValueClass()
plainAttrValueClass
in interface AnyUtils
public <T extends PlainAttrValue> T newPlainAttrValue()
newPlainAttrValue
in interface AnyUtils
public <T extends PlainAttrValue> Class<T> plainAttrUniqueValueClass()
plainAttrUniqueValueClass
in interface AnyUtils
public <T extends PlainAttrValue> T newPlainAttrUniqueValue()
newPlainAttrUniqueValue
in interface AnyUtils
public <T extends PlainAttrValue> T clonePlainAttrValue(T src)
clonePlainAttrValue
in interface AnyUtils
public <P extends AnyPatch> P newAnyPatch(String key)
newAnyPatch
in interface AnyUtils
@Transactional(readOnly=true) public Set<ExternalResource> getAllResources(Any<?> any)
getAllResources
in interface AnyUtils
@Transactional public void addAttr(PlainAttrValidationManager validator, String key, PlainSchema schema, String value)
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.