com.softwareag.centrasite.api.csom.type
Interface CentraSiteRegistryObjectType

All Superinterfaces:
CentraSiteObject, CentraSiteObjectType, CentraSiteRegistryObject

public interface CentraSiteRegistryObjectType
extends CentraSiteRegistryObject, CentraSiteObjectType

CentraSiteObjectType represents the type definition for CentraSiteObject & holds the information related to that specific type

1. All the JAXR model objects can be identified by using the name
2. All the CentraSite model objects can be identified by using the QName, because for identifying these objects we may require the schema also.
QName which wraps the schema & name.


Method Summary
 boolean canHaveImporter()
          return true in case the asset type have importer which imports the asset with the given meta data file. other wise false.
 boolean equals(java.lang.Object centrasiteObjectType)
          Compares the instances of CentraSiteObjectType instances with id.
 CentraSiteRegistryObjectType getBaseType()
          Retrieves the base type of the given type.
 java.util.List<Profile> getPrimaryProfiles()
          Retrieves the list of Profiles that are associated with this CentraSiteRegistryObjectType
 int hashCode()
           
 boolean inheritsProfiles()
          Checks if current type inherits profiles from base type
 boolean isVersionable()
          Checks if the instances of the type can be version
 
Methods inherited from interface com.softwareag.centrasite.api.csom.CentraSiteRegistryObject
getConsumers, getDescription, getDescription, getDisplayVersion, getLCMAssignment, getLocalName, getMandatoryAttributeProfiles, getName, getName, getNameSpace, getNextVersion, getNextVersions, getOrganization, getOwner, getPreviousVersion, getPreviousVersions, getRegistryObject, getSubscribers, getSystemVersion, getUserVersion, getVisiblePrimaryProfiles, isLatestVersionObject, setDescription, setDescription, setDisplayVersion, setLCMState, setLocalName, setName, setName, setNameSpace, setOrganization, setOwner, setUserVersion
 
Methods inherited from interface com.softwareag.centrasite.api.csom.type.CentraSiteObjectType
getAttribute, getAttributeNames, getAttributes, getQName, getQualifiedAttributeNames, getSchemaName
 
Methods inherited from interface com.softwareag.centrasite.api.csom.CentraSiteObject
delete, getAttributeLink, getAttributeValue, getAttributeValue, getAttributeValue, getId, getType, isModified, isReadOnly, save, setAttributeValue, setAttributeValue, setAttributeValue
 

Method Detail

isVersionable

boolean isVersionable()
                      throws CLLException
Checks if the instances of the type can be version

Returns:
true - in case it supports version other wise false.
Throws:
CLLException

inheritsProfiles

boolean inheritsProfiles()
Checks if current type inherits profiles from base type

Returns:
true - in case current type is a virtual type and inherits profiles from its base type.

getBaseType

CentraSiteRegistryObjectType getBaseType()
                                         throws CLLException
Retrieves the base type of the given type. If the CSOType is referencing a virtual type the base type of the virtual type is returned. Otherwise the CSOType itself is returned

Returns:
if invoked on a virtual type returns the base type of the virtual type otherwise CSOType itself returned
Throws:
CLLException

getPrimaryProfiles

java.util.List<Profile> getPrimaryProfiles()
                                           throws CLLException
Retrieves the list of Profiles that are associated with this CentraSiteRegistryObjectType

Returns:
The list of Profiles associated with this CentraSiteRegistryObjectType
Throws:
CLLException

equals

boolean equals(java.lang.Object centrasiteObjectType)
Compares the instances of CentraSiteObjectType instances with id.

Overrides:
equals in class java.lang.Object
Parameters:
centrasiteObjectType -
Returns:
true, if id of the instances match

canHaveImporter

boolean canHaveImporter()
                        throws CLLException
return true in case the asset type have importer which imports the asset with the given meta data file. other wise false.

Returns:
true - importer exists for the given asset type other wise false
Throws:
CLLException - in case of failed to find the importer exists for the given asset type.

hashCode

int hashCode()
Overrides:
hashCode in class java.lang.Object
Returns:
hashCode