public class ReconUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DS1_COMPFILTER_ATTRIBUTE_NAME |
static java.lang.String |
DS1_COMPFILTER_CLASSSTRUCTURE_ID |
static java.lang.String |
DS1_COMPFILTER_OBJECT_NAME |
static java.lang.String |
DS1_RULECLAUSE_ATTRIBUTE_NAME |
static java.lang.String |
DS1_RULECLAUSE_CLASSSTRUCTURE_ID |
static java.lang.String |
DS1_RULECLAUSE_OBJECT_NAME |
static java.lang.String |
DS2_COMPFILTER_ATTRIBUTE_NAME |
static java.lang.String |
DS2_COMPFILTER_CLASSSTRUCTURE_ID |
static java.lang.String |
DS2_COMPFILTER_OBJECT_NAME |
static java.lang.String |
DS2_RULECLAUSE_ATTRIBUTE_NAME |
static java.lang.String |
DS2_RULECLAUSE_CLASSSTRUCTURE_ID |
static java.lang.String |
DS2_RULECLAUSE_OBJECT_NAME |
Constructor and Description |
---|
ReconUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
buildToken(MboRemote clause,
DataSet dataSet,
java.lang.String objectNameFld,
java.lang.String attributeNameFld,
java.lang.String classstructureIdFld) |
static java.lang.String |
getAttributeName(java.lang.String fullName)
The format of a fully qualified name is,
ObjectName?ClassstructureId.AttributeName Or ObjectName.AttributeName |
static java.lang.String |
getClassstructureId(java.lang.String fullName)
The format of a fully qualified name is,
ObjectName?ClassstructureId.AttributeName Or ObjectName.AttributeName |
static java.lang.String |
getMasterObjectName(DataSet ds,
java.lang.String objectName)
returns the master object name if this object is a spec, otherwise return self;
the returned name if not qualified. |
static java.lang.String |
getObjectName(java.lang.String fullName)
The format of a fully qualified name is,
ObjectName?ClassstructureId.AttributeName Or ObjectName.AttributeName |
static java.lang.String[] |
getPrimaryKeyNames(java.lang.String objectName) |
static boolean |
isEmpty(java.util.Collection cl) |
static boolean |
isEmpty(java.util.Map map) |
static boolean |
isEmpty(MboSetRemote mboSet) |
static boolean |
isEmpty(java.lang.String str)
Tests if the given parameter is null or is an empty string.
|
static boolean |
isNull(java.lang.String str) |
static void |
logNotFoundError(ReconInfo reconInfo,
java.lang.String message)
Logs a not found error with the given message
|
static java.util.Set<java.lang.String> |
stripNamePrefixes(java.util.Set<java.lang.String> attributeSet) |
public static java.lang.String DS1_COMPFILTER_OBJECT_NAME
public static java.lang.String DS1_COMPFILTER_ATTRIBUTE_NAME
public static java.lang.String DS1_COMPFILTER_CLASSSTRUCTURE_ID
public static java.lang.String DS2_COMPFILTER_OBJECT_NAME
public static java.lang.String DS2_COMPFILTER_ATTRIBUTE_NAME
public static java.lang.String DS2_COMPFILTER_CLASSSTRUCTURE_ID
public static java.lang.String DS1_RULECLAUSE_OBJECT_NAME
public static java.lang.String DS1_RULECLAUSE_ATTRIBUTE_NAME
public static java.lang.String DS1_RULECLAUSE_CLASSSTRUCTURE_ID
public static java.lang.String DS2_RULECLAUSE_OBJECT_NAME
public static java.lang.String DS2_RULECLAUSE_ATTRIBUTE_NAME
public static java.lang.String DS2_RULECLAUSE_CLASSSTRUCTURE_ID
public static java.lang.String getAttributeName(java.lang.String fullName)
public static java.lang.String getObjectName(java.lang.String fullName)
public static java.lang.String getClassstructureId(java.lang.String fullName)
public static java.lang.String getMasterObjectName(DataSet ds, java.lang.String objectName)
public static java.util.Set<java.lang.String> stripNamePrefixes(java.util.Set<java.lang.String> attributeSet)
public static java.lang.String[] getPrimaryKeyNames(java.lang.String objectName) throws java.rmi.RemoteException
java.rmi.RemoteException
public static java.lang.String buildToken(MboRemote clause, DataSet dataSet, java.lang.String objectNameFld, java.lang.String attributeNameFld, java.lang.String classstructureIdFld) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public static boolean isEmpty(MboSetRemote mboSet) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public static boolean isNull(java.lang.String str)
public static boolean isEmpty(java.lang.String str)
str
- public static boolean isEmpty(java.util.Map map)
public static boolean isEmpty(java.util.Collection cl)
public static void logNotFoundError(ReconInfo reconInfo, java.lang.String message)
message
- Message to output