|
Sun Message Library for HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stc.hl7.repository.impl.HL7ObjectImpl
com.stc.hl7.repository.impl.HL7ObjectTypeDefinitionDataImpl
public class HL7ObjectTypeDefinitionDataImpl
Contains the actual data of the OTD.
Field Summary | |
---|---|
static java.lang.String |
ACCESS
Constant for Map |
static java.lang.String |
DOCUMENTATION
Constant for Map |
static java.lang.String |
OBJECT_TYPE_DEFINITION_TYPE
Constant for Map |
static java.lang.String |
ORIGIN
Constant for Map |
static java.lang.String |
OTD_LOCALIZED_INFOS
Constant for Map |
static java.lang.String |
OTD_META_CONTAINER
|
static java.lang.String |
OTD_WIZARD
Constant for Map |
static java.lang.String |
SERIAL
Constant for Map |
static java.lang.String |
STRUCTURE
Constant for Map |
static java.lang.String |
TOP_NODE_ID
Constant for Map |
Fields inherited from class com.stc.hl7.repository.impl.HL7ObjectImpl |
---|
persistable |
Fields inherited from interface com.stc.repository.RepositoryObject |
---|
RCS_ID |
Constructor Summary | |
---|---|
HL7ObjectTypeDefinitionDataImpl()
Constructs a DelegateObject object |
Method Summary | |
---|---|
void |
addExternalObjectTypeDefinition(com.stc.model.common.ObjectTypeDefinition entry)
|
(package private) void |
addOTDLocalizedInfo(com.stc.model.common.OTDLocalizedInfo entry)
Adds the given OTDLocalizedInfo to the ObjectTypeDefinition. |
boolean |
checkExternal(com.stc.model.common.ObjectTypeDefinition entry,
java.util.HashMap map)
Check if the the OTD is one of the external OTD for this OTD, returns a map for those external OTD already checked. |
void |
collectExternals(java.util.HashMap map)
Insert external OTD to the map if it's not exist. |
com.stc.model.common.OTDLocalizedInfo |
createOTDLocalizedInfo(java.lang.String language,
com.stc.model.common.ObjectTypeDefinition otd)
|
com.stc.model.common.OTDLocalizedInfo |
deleteOTDLocalizedInfo(com.stc.model.common.OTDLocalizedInfo value)
|
java.lang.String |
getAccess()
|
java.util.Collection |
getAllExternalObjectTypeDefinitions()
|
java.lang.String |
getDocumentation()
|
com.stc.model.common.ObjectTypeDefinition |
getExternalObjectTypeDefinition(java.lang.String name)
|
java.util.Collection |
getExternalObjectTypeDefinitions()
|
java.lang.String |
getOrigin()
|
com.stc.model.common.OTDLocalizedInfo |
getOTDLocalizedInfo(java.lang.String language)
|
java.util.Collection |
getOTDLocalizedInfos()
|
java.lang.String |
getOtdMetaContainer()
|
java.lang.String |
getSerial()
|
java.lang.String |
getStructure()
|
int |
getTopNodeId()
|
boolean |
isExternal(com.stc.model.common.ObjectTypeDefinition entry)
|
boolean |
isMessageable()
ccom.stc.egate.repository.ObjectTypeDefinition |
boolean |
isVersionable()
|
com.stc.model.common.ObjectTypeDefinition |
removeExternalObjectTypeDefinition(com.stc.model.common.ObjectTypeDefinition entry)
|
(package private) com.stc.model.common.OTDLocalizedInfo |
removeOTDLocalizedInfo(com.stc.model.common.OTDLocalizedInfo entry)
Removes the given OTDLocalizedInfo from the ObjectTypeDefinition. |
void |
setAccess(java.lang.String value)
|
void |
setDocumentation(java.lang.String value)
|
void |
setOrigin(java.lang.String value)
|
void |
setOtdMetaContainer(java.lang.String otdMetaContainer)
|
void |
setSerial(java.lang.String value)
|
void |
setStructure(java.lang.String value)
|
void |
setTopNodeId(int value)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.stc.repository.RepositoryObject |
---|
getCUDTracker, onDelete, setCUDTracker |
Methods inherited from interface com.stc.repository.persistence.client.Persistable |
---|
getACLInfo, getCreatedBy, getCreationDate, getDescription, getLastUpdatedBy, getLastUpdatedDate, getName, getOID, getOwnerOID, getPersistableSupport, getVersionInfo, isHeaderResolved, isLocked, resolve, setACLInfo, setCreatedBy, setCreationDate, setDescription, setHeaderResolved, setLastUpdatedBy, setLastUpdatedDate, setName, setOID, setResolver, setUnresolved, setVersionInfo |
Methods inherited from interface com.stc.repository.persistence.client.Marshalable |
---|
getClassNameAlias, getMarshalableSupport, getPropertyMap, getReferenceID, getRelationshipMap, onUnmarshalFinished, onUnmarshalStarting, setPropertyMap, setReferenceID |
Methods inherited from interface com.stc.repository.persistence.client.PropertyChangePublisher |
---|
addPropertyChangeListener, addPropertyChangeListener, addPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removePropertyChangeListeners |
Methods inherited from interface java.beans.PropertyChangeListener |
---|
propertyChange |
Field Detail |
---|
public static final java.lang.String ACCESS
public static final java.lang.String DOCUMENTATION
public static final java.lang.String ORIGIN
public static final java.lang.String STRUCTURE
public static final java.lang.String OBJECT_TYPE_DEFINITION_TYPE
public static final java.lang.String SERIAL
public static final java.lang.String TOP_NODE_ID
public static final java.lang.String OTD_WIZARD
public static final java.lang.String OTD_LOCALIZED_INFOS
public static final java.lang.String OTD_META_CONTAINER
Constructor Detail |
---|
public HL7ObjectTypeDefinitionDataImpl()
Method Detail |
---|
public void setAccess(java.lang.String value) throws com.stc.repository.RepositoryException
setAccess
in interface HL7ObjectTypeDefinitionData
com.stc.repository.RepositoryException
public java.lang.String getAccess() throws com.stc.repository.RepositoryException
getAccess
in interface HL7ObjectTypeDefinitionData
com.stc.repository.RepositoryException
public java.util.Collection getAllExternalObjectTypeDefinitions() throws com.stc.repository.RepositoryException
getAllExternalObjectTypeDefinitions
in interface HL7ObjectTypeDefinitionData
com.stc.repository.RepositoryException
public void setDocumentation(java.lang.String value) throws com.stc.repository.RepositoryException
setDocumentation
in interface HL7ObjectTypeDefinitionData
com.stc.repository.RepositoryException
public java.lang.String getDocumentation() throws com.stc.repository.RepositoryException
getDocumentation
in interface HL7ObjectTypeDefinitionData
com.stc.repository.RepositoryException
public boolean isExternal(com.stc.model.common.ObjectTypeDefinition entry) throws com.stc.repository.RepositoryException
isExternal
in interface HL7ObjectTypeDefinitionData
com.stc.repository.RepositoryException
public com.stc.model.common.ObjectTypeDefinition getExternalObjectTypeDefinition(java.lang.String name) throws com.stc.repository.RepositoryException
getExternalObjectTypeDefinition
in interface HL7ObjectTypeDefinitionData
com.stc.repository.RepositoryException
public java.util.Collection getExternalObjectTypeDefinitions() throws com.stc.repository.RepositoryException
getExternalObjectTypeDefinitions
in interface HL7ObjectTypeDefinitionData
com.stc.repository.RepositoryException
public com.stc.model.common.OTDLocalizedInfo getOTDLocalizedInfo(java.lang.String language) throws com.stc.repository.RepositoryException
getOTDLocalizedInfo
in interface HL7ObjectTypeDefinitionData
com.stc.repository.RepositoryException
public java.util.Collection getOTDLocalizedInfos() throws com.stc.repository.RepositoryException
getOTDLocalizedInfos
in interface HL7ObjectTypeDefinitionData
com.stc.repository.RepositoryException
public void setOrigin(java.lang.String value) throws com.stc.repository.RepositoryException
setOrigin
in interface HL7ObjectTypeDefinitionData
com.stc.repository.RepositoryException
public java.lang.String getOrigin() throws com.stc.repository.RepositoryException
getOrigin
in interface HL7ObjectTypeDefinitionData
com.stc.repository.RepositoryException
public void setSerial(java.lang.String value) throws com.stc.repository.RepositoryException
setSerial
in interface HL7ObjectTypeDefinitionData
com.stc.repository.RepositoryException
public java.lang.String getSerial() throws com.stc.repository.RepositoryException
getSerial
in interface HL7ObjectTypeDefinitionData
com.stc.repository.RepositoryException
public void setStructure(java.lang.String value) throws com.stc.repository.RepositoryException
setStructure
in interface HL7ObjectTypeDefinitionData
com.stc.repository.RepositoryException
public java.lang.String getStructure() throws com.stc.repository.RepositoryException
getStructure
in interface HL7ObjectTypeDefinitionData
com.stc.repository.RepositoryException
public void setTopNodeId(int value) throws com.stc.repository.RepositoryException
setTopNodeId
in interface HL7ObjectTypeDefinitionData
com.stc.repository.RepositoryException
public int getTopNodeId() throws com.stc.repository.RepositoryException
getTopNodeId
in interface HL7ObjectTypeDefinitionData
com.stc.repository.RepositoryException
public void addExternalObjectTypeDefinition(com.stc.model.common.ObjectTypeDefinition entry) throws com.stc.repository.RepositoryException
addExternalObjectTypeDefinition
in interface HL7ObjectTypeDefinitionData
com.stc.repository.RepositoryException
public boolean checkExternal(com.stc.model.common.ObjectTypeDefinition entry, java.util.HashMap map) throws com.stc.repository.RepositoryException
checkExternal
in interface HL7ObjectTypeDefinitionData
entry
- an OTDmap
- map for checked External OTD which doesn't match the criteria
com.stc.repository.RepositoryException
- if access to repository was failed.public void collectExternals(java.util.HashMap map) throws com.stc.repository.RepositoryException
collectExternals
in interface HL7ObjectTypeDefinitionData
map
- map to store the exteral OTD
com.stc.repository.RepositoryException
- if access to repository was failed.public com.stc.model.common.OTDLocalizedInfo createOTDLocalizedInfo(java.lang.String language, com.stc.model.common.ObjectTypeDefinition otd) throws com.stc.repository.RepositoryException
createOTDLocalizedInfo
in interface HL7ObjectTypeDefinitionData
com.stc.repository.RepositoryException
public com.stc.model.common.OTDLocalizedInfo deleteOTDLocalizedInfo(com.stc.model.common.OTDLocalizedInfo value) throws com.stc.repository.RepositoryException
deleteOTDLocalizedInfo
in interface HL7ObjectTypeDefinitionData
com.stc.repository.RepositoryException
public com.stc.model.common.ObjectTypeDefinition removeExternalObjectTypeDefinition(com.stc.model.common.ObjectTypeDefinition entry) throws com.stc.repository.RepositoryException
removeExternalObjectTypeDefinition
in interface HL7ObjectTypeDefinitionData
com.stc.repository.RepositoryException
void addOTDLocalizedInfo(com.stc.model.common.OTDLocalizedInfo entry) throws com.stc.repository.RepositoryException
entry
- the OTDLocalizedInfo
com.stc.repository.RepositoryException
- if this operation fails
java.lang.IllegalArgumentException
- if this operation failscom.stc.model.common.OTDLocalizedInfo removeOTDLocalizedInfo(com.stc.model.common.OTDLocalizedInfo entry) throws com.stc.repository.RepositoryException
entry
- the OTDLocalizedInfo
com.stc.repository.RepositoryException
- if this operation failspublic boolean isVersionable()
isVersionable
in interface HL7ObjectTypeDefinitionData
isVersionable
in interface com.stc.repository.persistence.client.Persistable
isVersionable
in class HL7ObjectImpl
Persistable.isVersionable()
public boolean isMessageable() throws com.stc.repository.RepositoryException
ccom.stc.egate.repository.ObjectTypeDefinition
isMessageable
in interface HL7ObjectTypeDefinitionData
com.stc.repository.RepositoryException
public java.lang.String getOtdMetaContainer() throws com.stc.repository.RepositoryException
getOtdMetaContainer
in interface HL7ObjectTypeDefinitionData
com.stc.repository.RepositoryException
public void setOtdMetaContainer(java.lang.String otdMetaContainer) throws com.stc.repository.RepositoryException
setOtdMetaContainer
in interface HL7ObjectTypeDefinitionData
com.stc.repository.RepositoryException
|
Sun Message Library for HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |