public class ClassTypes
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.Comparator<java.lang.Class> |
CLASS_COMPARATOR |
Constructor and Description |
---|
ClassTypes() |
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<java.lang.Class> |
expandToConcreteMetaClasses(java.util.Collection<java.lang.Class> metaClasses)
Method replaces each abstract meta class with direct subclasses.
|
static java.util.List<java.lang.Class> |
getClassifiers()
Returns a list of all classifiers types.
|
static java.lang.Class |
getClassType(org.omg.mof.model.Classifier metatype) |
static java.lang.Class |
getClassType(java.util.List<java.lang.String> qualifiedName) |
static java.lang.Class |
getClassType(java.lang.String shortName) |
static java.util.Set<java.lang.Class> |
getClassTypeForShortNames(java.util.Collection<java.lang.String> names) |
static java.util.Set<java.lang.Class> |
getClassTypesForElements(java.util.Collection<? extends BaseElement> elements) |
static java.util.List<java.lang.Class> |
getDirectSubtypes(java.lang.Class type,
boolean includeAbstract)
Gets only direct sub-types of the type.
|
static java.util.List<java.lang.Class> |
getNameSpaces()
Returns a list of all namespaces types.
|
static java.util.Collection<java.lang.Class> |
getPackagesNotProfile()
Returns a list of all classifiers types.
|
static java.lang.String |
getShortName(java.lang.Class type) |
static java.util.Set<java.lang.String> |
getShortNameForClassTypes(java.util.Collection<java.lang.Class> types) |
static java.util.List<java.lang.Class> |
getSubtypes(java.lang.Class type) |
static java.util.List<java.lang.Class> |
getSubtypes(java.lang.Class type,
boolean includeAbstract) |
static java.util.Set<java.lang.Class> |
getSubtypes(java.util.Collection<java.lang.Class> types) |
static java.util.Set<java.lang.Class> |
getSubtypes(java.util.Collection<java.lang.Class> types,
boolean includeAbstract) |
static java.lang.Class[] |
getSubtypesArray(java.lang.Class type) |
static java.lang.Class[] |
getSubtypesArray(java.lang.Class type,
boolean includeAbstract) |
static java.lang.Class[] |
getSubtypesArray(java.util.Collection<java.lang.Class> type) |
static java.lang.Class[] |
getSubtypesArray(java.util.Collection<java.lang.Class> type,
boolean includeAbstract) |
static java.util.List<java.lang.Class> |
getSupertypes(java.lang.Class type) |
static java.util.List<java.lang.String> |
getTypeQualifiedName(javax.jmi.reflect.RefBaseObject refBaseObject)
Get given object meta type qualified name
|
static void |
removeAbstract(java.util.Collection<java.lang.Class> classTypes) |
public static java.util.List<java.lang.Class> getNameSpaces()
public static java.util.List<java.lang.Class> getClassifiers()
public static java.util.Collection<java.lang.Class> getPackagesNotProfile()
public static java.util.Set<java.lang.Class> getSubtypes(java.util.Collection<java.lang.Class> types)
public static java.util.Set<java.lang.Class> getSubtypes(java.util.Collection<java.lang.Class> types, boolean includeAbstract)
public static java.util.List<java.lang.Class> getSubtypes(java.lang.Class type)
public static java.util.List<java.lang.Class> getSubtypes(java.lang.Class type, boolean includeAbstract)
public static java.lang.Class[] getSubtypesArray(java.util.Collection<java.lang.Class> type)
public static java.lang.Class[] getSubtypesArray(java.util.Collection<java.lang.Class> type, boolean includeAbstract)
public static java.lang.Class[] getSubtypesArray(java.lang.Class type)
public static java.lang.Class[] getSubtypesArray(java.lang.Class type, boolean includeAbstract)
public static java.util.List<java.lang.Class> getDirectSubtypes(java.lang.Class type, boolean includeAbstract)
getSubtypes(Class, boolean)
get get all available sub-types.type
- the super typeincludeAbstract
- include abstract typespublic static java.util.List<java.lang.Class> getSupertypes(java.lang.Class type)
public static java.lang.Class getClassType(org.omg.mof.model.Classifier metatype)
public static java.lang.Class getClassType(java.util.List<java.lang.String> qualifiedName)
public static java.lang.Class getClassType(java.lang.String shortName)
@CheckForNull public static java.lang.String getShortName(@CheckForNull java.lang.Class type)
public static java.util.Set<java.lang.Class> getClassTypesForElements(java.util.Collection<? extends BaseElement> elements)
public static java.util.Set<java.lang.String> getShortNameForClassTypes(java.util.Collection<java.lang.Class> types)
public static java.util.Set<java.lang.Class> getClassTypeForShortNames(java.util.Collection<java.lang.String> names)
public static void removeAbstract(java.util.Collection<java.lang.Class> classTypes)
public static java.util.Collection<java.lang.Class> expandToConcreteMetaClasses(java.util.Collection<java.lang.Class> metaClasses)
public static java.util.List<java.lang.String> getTypeQualifiedName(javax.jmi.reflect.RefBaseObject refBaseObject)