com.centrasite.jaxr.type
Interface CentraSiteVirtualTypeDescription

All Superinterfaces:
CentraSiteTypeDescription

public interface CentraSiteVirtualTypeDescription
extends CentraSiteTypeDescription

A virtual type is derived from a base type. Some operations like adding attributes are restricted. A virtual type can overwrite the behaviour of the base type with respect to Lifecycle Models and Policies.


Method Summary
 CentraSiteBaseTypeDescription getBaseType()
          Return this type's base type.
 CentraSiteTypeDescription getParentType()
          Return this type's parent type.
 boolean inheritsLCMs()
          Return whether this virtual type inherits the Lifecycle Models of its parent type.
 boolean inheritsPolicies()
          Return whether this virtual type inherits the Policies of its parent type.
 boolean inheritsProfiles()
          Return whether this virtual type inherits the Profiles of its parent type.
 void setInheritLCMs(boolean inheritLCMs)
          Set whether this virtual type is to inherit the Lifecycle Models of its parent type.
 void setInheritPolicies(boolean inheritPolicies)
          Set whether this virtual type is to inherit the Policies of its parent type.
 void setInheritProfiles(boolean inheritProfiles)
          Set whether this virtual type is to inherit the Profiles of its parent type.
 
Methods inherited from interface com.centrasite.jaxr.type.CentraSiteTypeDescription
addClassification, addClassification, addClassificationAtribute, addClassificationAtributes, addComputedAttribute, addComputedAttributes, addFileAtribute, addFileAtributes, addOperationDescription, addProfile, addProfiles, addRelationShipAtribute, addRelationShipAtributes, addSlotDescription, addSlotDescriptions, addTriggerDescription, areSlotsCreated, checkValidLocalName, checkValidNameSpace, clearOperations, clearSlots, clearTriggers, delete, getAggregatedUsingTargetTypes, getClassificationAttributes, getCompositedUsingTargetTypes, getComputedAttributes, getConcept, getDescription, getDisplayName, getDoctypeName, getFileAttributes, getI18NDescription, getIconLink, getJaxrAttributes, getLargeIconLink, getLocalPart, getName, getNamespaceUri, getOperationDescriptions, getProfiles, getProfiles, getProfileSequence, getRelationShipAttributes, getReverselyAggregatingTypes, getSchemaName, getSlotDescription, getSlotDescriptions, getSlotNames, getTriggerDescriptions, getXsdLink, hasOperations, hasTriggers, isBaseType, isClassifiedWith, isClassifiedWith, isExtensible, isExtensible, isVirtualType, lock, ncName, removeClassification, removeClassification, removeClassificationAtribute, removeComputedAttribute, removeFileAtribute, removeOperationDescription, removeProfile, removeRelationShipAtribute, removeTriggerDescription, save, setConcept, setDescription, setDisplayName, setIconInputStream, setIconLink, setIconMediaType, setIconPath, setIconPath, setLargeIconInputStream, setLargeIconLink, setLargeIconMediaType, setLocalPart, setName, setNamespaceUri, setProfileSequence, setUpdateProcess, setXsdLink, toXML, toXmlForExport
 

Method Detail

getBaseType

CentraSiteBaseTypeDescription getBaseType()
                                          throws javax.xml.registry.JAXRException
Return this type's base type.

Returns:
this type's base type.
Throws:
javax.xml.registry.JAXRException

getParentType

CentraSiteTypeDescription getParentType()
                                        throws javax.xml.registry.JAXRException
Return this type's parent type. The parent type is the parent in the hierarchy of virtual types. If a virtual type is at the top of the hierarchy them its parent is the base type.

Returns:
this type's parent type.
Throws:
javax.xml.registry.JAXRException

inheritsLCMs

boolean inheritsLCMs()
                     throws javax.xml.registry.JAXRException
Return whether this virtual type inherits the Lifecycle Models of its parent type.

Returns:
true if this virtual type inherits the Lifecycle Models of its parent type.
Throws:
javax.xml.registry.JAXRException

setInheritLCMs

void setInheritLCMs(boolean inheritLCMs)
                    throws javax.xml.registry.JAXRException
Set whether this virtual type is to inherit the Lifecycle Models of its parent type.

Parameters:
inheritLCMs - true if this virtual type is to inherit the Lifecycle Models of its parent type.
Throws:
javax.xml.registry.JAXRException

inheritsPolicies

boolean inheritsPolicies()
                         throws javax.xml.registry.JAXRException
Return whether this virtual type inherits the Policies of its parent type.

Returns:
true if this virtual type inherits the Policies of its parent type.
Throws:
javax.xml.registry.JAXRException

setInheritPolicies

void setInheritPolicies(boolean inheritPolicies)
                        throws javax.xml.registry.JAXRException
Set whether this virtual type is to inherit the Policies of its parent type.

Parameters:
inheritPolicies - true if this virtual type is to inherit the Policies of its parent type.
Throws:
javax.xml.registry.JAXRException

inheritsProfiles

boolean inheritsProfiles()
                         throws javax.xml.registry.JAXRException
Return whether this virtual type inherits the Profiles of its parent type.

Returns:
true if this virtual type inherits the Profiles of its parent type.
Throws:
javax.xml.registry.JAXRException

setInheritProfiles

void setInheritProfiles(boolean inheritProfiles)
                        throws javax.xml.registry.JAXRException
Set whether this virtual type is to inherit the Profiles of its parent type.

Parameters:
inheritProfiles - true if this virtual type is to inherit the Profiles of its parent type.
Throws:
javax.xml.registry.JAXRException