public class IGCRestConstants extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CLASSIFICATIONENABLEDGROUP |
static Pattern |
COOKIE_WHITELIST |
static String |
IGC_REST_BASE_MODEL_PKG |
static String |
IGC_REST_COMMON_MODEL_PKG |
static String |
INFORMATION_ASSET |
static String |
MAIN_OBJECT |
static String |
MOD_CREATED_BY |
static String |
MOD_CREATED_ON |
static String |
MOD_MODIFIED_BY |
static String |
MOD_MODIFIED_ON |
static Pattern |
NAMING_CHAR_WHITELIST |
static String |
NON_IGC_PREFIX |
static String |
NOTE |
| Modifier and Type | Method and Description |
|---|---|
static String |
getAssetTypeForSearch(String assetType)
Translates the type of asset into what should be used for searching.
|
static String |
getCamelCase(String input)
Converts an IGC type or property (something_like_this) into a camelcase class name (SomethingLikeThis).
|
static String |
getClassNameForAssetType(String igcAssetType)
Retrieve the name of a POJO class from the IGC asset type name.
|
static IGCSearchCondition |
getConditionToForceNoSearchResults()
Retrieve a search condition that will ensure no results are returned from a search.
|
static Set<String> |
getDatastageSpecificTypes()
Retrieve the set of DataStage-specific asset types.
|
static List<String> |
getFileTypes()
Retrieve a list of the asset types that deal with files in some way.
|
static Set<String> |
getFixedInformationAssetProperties()
Retrieve the list of properties that should be fixed at the Information Asset object level.
|
static Set<String> |
getFixedMainObjectProperties()
Retrieve the list of properties that should be fixed at the Main Object level.
|
static String |
getGetterNameForProperty(String propertyName)
Retrieve the getter name for the specified property.
|
static Map<String,String> |
getImamTypeToIgcType()
Retrieve a mapping from IMAM type name to IGC type name.
|
static String |
getJavaTypeForProperty(TypeProperty property)
Retrieve the name of the Java type for the provided IGC type.
|
static String |
getLowerCamelCase(String input)
Converts an IGC type or property (something_like_this) into lower a camelcase name (somethingLikeThis).
|
static List<String> |
getModificationProperties()
Retrieve a list of the modification detail properties used by the IGC REST API.
|
static Set<String> |
getPropertiesToIgnore()
Retrieve the set of properties that should be ignored for all assets.
|
static Set<String> |
getRelationshipLevelTypes()
Retrieve a set of IGC asset types that are actual relationship-level assets (very rare).
|
static String |
getSetterNameForProperty(String propertyName)
Retrieve the setter name for the specified property.
|
static Map<String,String> |
getSubTypeToSuperType()
Retrieve the mapping of IGC object sub-types to granular super-types.
|
static List<String> |
getSuperTypes()
Retrieve the list of IGC object super types, in order from the highest level of abstraction to lower levels
of granularity.
|
static Set<String> |
getTypesThatCannotBeSearched()
Retrieve the set of IGC object types that cannot be searched for via the IGC REST API.
|
static List<String> |
getUserTypes()
Retrieve a list of the asset types that deal with users in some way.
|
static Set<String> |
getValidCookieNames()
Retrieve the set of valid cookie names for the IGC REST API.
|
public static final String NON_IGC_PREFIX
public static final String MOD_CREATED_BY
public static final String MOD_CREATED_ON
public static final String MOD_MODIFIED_BY
public static final String MOD_MODIFIED_ON
public static final Pattern NAMING_CHAR_WHITELIST
public static final Pattern COOKIE_WHITELIST
public static final String IGC_REST_COMMON_MODEL_PKG
public static final String IGC_REST_BASE_MODEL_PKG
public static final String NOTE
public static final String MAIN_OBJECT
public static final String INFORMATION_ASSET
public static final String CLASSIFICATIONENABLEDGROUP
public static Set<String> getValidCookieNames()
Set<String>public static Set<String> getDatastageSpecificTypes()
Set<String>public static Set<String> getTypesThatCannotBeSearched()
Set<String>public static List<String> getModificationProperties()
List<String>public static List<String> getFileTypes()
List<String>public static List<String> getUserTypes()
List<String>public static Map<String,String> getImamTypeToIgcType()
Map<String, String> where the key is the IMAM type name and value is IGC type namepublic static Set<String> getRelationshipLevelTypes()
Set<String>public static Set<String> getPropertiesToIgnore()
Set<String>public static List<String> getSuperTypes()
List<String>public static Map<String,String> getSubTypeToSuperType()
Map<String, String>public static Set<String> getFixedMainObjectProperties()
Set<String>public static Set<String> getFixedInformationAssetProperties()
Set<String>public static String getJavaTypeForProperty(TypeProperty property)
property - the IGC property for which to get the typepublic static String getClassNameForAssetType(String igcAssetType)
igcAssetType - the name of the IGC asset type for which to retrieve a POJO classnamepublic static String getCamelCase(String input)
input - the IGC type or property to convert into camelcasepublic static String getLowerCamelCase(String input)
input - the IGC type or property to convert into lower camelcasepublic static String getAssetTypeForSearch(String assetType)
assetType - the asset type for which to retrieve the search typepublic static IGCSearchCondition getConditionToForceNoSearchResults()
public static String getGetterNameForProperty(String propertyName)
propertyName - the IGC propertyCopyright © 2018–2021 ODPi. All rights reserved.