com.sun.tools.xjc.model

Class CSingleTypePropertyInfo

abstract class CSingleTypePropertyInfo extends CPropertyInfo

CPropertyInfo backed by a single TypeUse.
Field Summary
protected TypeUsetype
Constructor Summary
protected CSingleTypePropertyInfo(String name, TypeUse type, QName typeName, XSComponent source, CCustomizations customizations, Locator locator)
Method Summary
CAdaptergetAdapter()
MimeTypegetExpectedMimeType()
QNamegetSchemaType()
CSingleTypePropertyInfogetSource()
CNonElementgetTarget()
IDid()
List<? extends CTypeInfo>ref()

Field Detail

type

protected final TypeUse type

Constructor Detail

CSingleTypePropertyInfo

protected CSingleTypePropertyInfo(String name, TypeUse type, QName typeName, XSComponent source, CCustomizations customizations, Locator locator)

Parameters: typeName XML Schema type name of this property's single value. Optional for other schema languages. This is used to determine if we should generate @XmlSchemaType annotation to improve the roundtrip.

Method Detail

getAdapter

public final CAdapter getAdapter()

getExpectedMimeType

public final MimeType getExpectedMimeType()

getSchemaType

public QName getSchemaType()

getSource

public final CSingleTypePropertyInfo getSource()

getTarget

public final CNonElement getTarget()

id

public final ID id()

ref

public final List<? extends CTypeInfo> ref()