|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.wsspi.wim.SchemaHelper
public class SchemaHelper
Schema related utility methods for SPI(adapter)/Plugin providers.
Constructor Summary | |
---|---|
SchemaHelper()
|
Method Summary | |
---|---|
static org.eclipse.emf.ecore.EClass |
getEClass(java.lang.String qualifiedEntityTypeName)
Returns the org.eclipse.emf.ecore.EClass object of the given qualified entity type name. |
static org.eclipse.emf.ecore.EClass |
getEClass(commonj.sdo.Type type)
Returns the org.eclipse.emf.ecore.EClass object of the given type object. |
static java.util.List |
getProperties(java.lang.String qualifiedEntityTypeName)
Returns all the properties of an entity type. |
static java.lang.String |
getTypeNsURI(java.lang.String qualifiedEntityTypeName)
Returns the name space URI of the given qualified type. |
static boolean |
isGroupType(java.lang.String entityType)
Returns true if the entity type is Group or an extension of Group. |
static boolean |
isLoginAccountType(java.lang.String entityType)
Returns true if the entity type is LoginAccount or an extension of LoginAccount. |
static boolean |
isMultiValuedProperty(java.lang.String qualifiedEntityType,
java.lang.String qualifiedPropName)
Returns true if the property name is a multi-valued property for the entity type. |
static boolean |
isReferenceProperty(java.lang.String propName)
Returns true if the property name is a reference type property (for example, manager, secretary). |
static boolean |
isSuperType(java.lang.String superType,
java.lang.String subType)
Returns true if one entity type is super type of another. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SchemaHelper()
Method Detail |
---|
public static boolean isSuperType(java.lang.String superType, java.lang.String subType)
superType
- super entity type.subType
- sub entity type.public static boolean isLoginAccountType(java.lang.String entityType)
entityType
- entity type.public static boolean isGroupType(java.lang.String entityType)
entityType
- entity type.public static org.eclipse.emf.ecore.EClass getEClass(java.lang.String qualifiedEntityTypeName)
qualifiedEntityTypeName
- the qualified entity type name with format "public static org.eclipse.emf.ecore.EClass getEClass(commonj.sdo.Type type)
type
- The type object of entity type.public static java.lang.String getTypeNsURI(java.lang.String qualifiedEntityTypeName)
qualifiedEntityTypeName
- the qualified entity type name with format "public static java.util.List getProperties(java.lang.String qualifiedEntityTypeName)
qualifiedEntityTypeName
- the qualified entity type name with format "public static boolean isReferenceProperty(java.lang.String propName) throws WIMException
propName
- property name.
WIMException
public static boolean isMultiValuedProperty(java.lang.String qualifiedEntityType, java.lang.String qualifiedPropName)
qualifiedEntityType
- entity type.qualifiedPropName
- property name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |