Package adalid.core
Class XS2
java.lang.Object
adalid.core.XS2
- Author:
- Jorge Campins
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncanonicalNames(Set<Class<?>> classes) static booleanclassNames(Set<Class<?>> classes) static Collection<Field> static Collection<Field> static VariantXgetForeignExpression(Class<? extends VariantX> type, String name, Class<? extends Entity> declaringClass) getLocallyDeclaredEntityClasses(Class<?> clazz) static Class<?> getNamedClass(Class<?> clazz) static Class<?> getNamedClass(Object object) static PropertygetProperty(Field field, Object declaringObject) static PropertygetProperty(Field field, Object declaringObject, boolean ignoreExceptions) static URLCreates aURLobject from theStringrepresentation ignoring MalformedURLException.static StringinvalidURLs(String... specs) static voidsetDataClass(AbstractDataArtifact artifact, Class<?> clazz) static voidsetDataType(AbstractDataArtifact artifact, Class<?> type) simpleNames(Set<Class<?>> classes)
-
Constructor Details
-
XS2
public XS2()
-
-
Method Details
-
checkAccess
public static boolean checkAccess() -
invalidURLs
-
getURL
Creates aURLobject from theStringrepresentation ignoring MalformedURLException.- Parameters:
spec- theStringto parse as a URL.- Returns:
- a new URL by parsing the given spec or null if spec in invalid
-
iframe
-
canonicalNames
-
classNames
-
simpleNames
-
getLocallyDeclaredEntityClasses
-
getNamedClass
-
getNamedClass
-
getFields
- Throws:
SecurityException
-
getFields
- Throws:
SecurityException
-
getProperty
-
getProperty
-
setDataClass
-
setDataType
-
getForeignExpression
-