public class CMClassInfo<T,C extends T> extends Object implements MClassInfo<T,C>
Constructor and Description |
---|
CMClassInfo(MClassInfoOrigin origin,
C targetType,
MPackageInfo _package,
MContainer container,
String localName,
MClassTypeInfo<T,C> baseTypeInfo,
QName elementName,
QName typeName) |
Modifier and Type | Method and Description |
---|---|
<V> V |
acceptClassTypeInfoVisitor(MClassTypeInfoVisitor<T,C,V> visitor) |
<V> V |
acceptTypeInfoVisitor(MTypeInfoVisitor<T,C,V> visitor) |
void |
addProperty(MPropertyInfo<T,C> propertyInfo) |
MElementInfo<T,C> |
createElementInfo(MTypeInfo<T,C> scope,
QName substitutionHead) |
MClassTypeInfo<T,C> |
getBaseTypeInfo() |
MContainer |
getContainer() |
String |
getContainerLocalName(String delimiter) |
MCustomizations |
getCustomizations() |
QName |
getElementName() |
String |
getLocalName() |
String |
getName() |
MClassInfoOrigin |
getOrigin() |
MPackageInfo |
getPackageInfo() |
List<MPropertyInfo<T,C>> |
getProperties() |
MPropertyInfo<T,C> |
getProperty(String privateName) |
MContainer |
getScope() |
C |
getTargetType() |
QName |
getTypeName() |
boolean |
isSimpleType() |
void |
removeProperty(MPropertyInfo<T,C> propertyInfo) |
String |
toString() |
public CMClassInfo(MClassInfoOrigin origin, C targetType, MPackageInfo _package, MContainer container, String localName, MClassTypeInfo<T,C> baseTypeInfo, QName elementName, QName typeName)
public MCustomizations getCustomizations()
getCustomizations
in interface MCustomizable
public MClassInfoOrigin getOrigin()
getOrigin
in interface MOriginated<MClassInfoOrigin>
public C getTargetType()
getTargetType
in interface MClassTypeInfo<T,C extends T>
getTargetType
in interface MTypeInfo<T,C extends T>
public QName getTypeName()
getTypeName
in interface MTypeInfo<T,C extends T>
public boolean isSimpleType()
isSimpleType
in interface MTypeInfo<T,C extends T>
public MElementInfo<T,C> createElementInfo(MTypeInfo<T,C> scope, QName substitutionHead)
createElementInfo
in interface MClassInfo<T,C extends T>
public MPackageInfo getPackageInfo()
getPackageInfo
in interface MPackaged
public String getLocalName()
getLocalName
in interface MContainer
getLocalName
in interface MPackagedTypeInfo<T,C extends T>
public MContainer getContainer()
getContainer
in interface MContained
public String getContainerLocalName(String delimiter)
getContainerLocalName
in interface MContained
getContainerLocalName
in interface MContainer
public MContainer getScope()
public MClassTypeInfo<T,C> getBaseTypeInfo()
getBaseTypeInfo
in interface MClassInfo<T,C extends T>
public List<MPropertyInfo<T,C>> getProperties()
getProperties
in interface MClassInfo<T,C extends T>
public MPropertyInfo<T,C> getProperty(String privateName)
getProperty
in interface MClassInfo<T,C extends T>
public QName getElementName()
getElementName
in interface MClassInfo<T,C extends T>
public void addProperty(MPropertyInfo<T,C> propertyInfo)
addProperty
in interface MClassInfo<T,C extends T>
public void removeProperty(MPropertyInfo<T,C> propertyInfo)
removeProperty
in interface MClassInfo<T,C extends T>
public <V> V acceptTypeInfoVisitor(MTypeInfoVisitor<T,C,V> visitor)
acceptTypeInfoVisitor
in interface MTypeInfo<T,C extends T>
public <V> V acceptClassTypeInfoVisitor(MClassTypeInfoVisitor<T,C,V> visitor)
acceptClassTypeInfoVisitor
in interface MClassTypeInfo<T,C extends T>
Copyright © 2005–2018. All rights reserved.