org.eclipse.stardust.engine.extensions.dms.data
Class DocumentType

java.lang.Object
  extended by org.eclipse.stardust.engine.extensions.dms.data.DocumentType
All Implemented Interfaces:
java.io.Serializable

public class DocumentType
extends java.lang.Object
implements java.io.Serializable

Describes the meta data structure of a document which can be set by using Document#setProperties(java.util.Map) and retrieved by using {@link Document#getProperties()}
The prefered way of retrieving DocumentTypes should be by usage of {@link DocumentTypeUtils}

See Also:
Serialized Form

Constructor Summary
DocumentType(java.lang.String documentTypeId, java.lang.String schemaLocation)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDocumentTypeId()
           
 java.lang.String getSchemaLocation()
           
 void setDocumentTypeId(java.lang.String documentTypeId)
          sets the unique qualified Id of particular document type within the repository
 void setSchemaLocation(java.lang.String schemaLocation)
          Sets the identifier for exactly one XSD schema location in the repository
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentType

public DocumentType(java.lang.String documentTypeId,
                    java.lang.String schemaLocation)
Method Detail

getDocumentTypeId

public java.lang.String getDocumentTypeId()
Returns:
String - the qualified Id of a particular document type in the repository

setDocumentTypeId

public void setDocumentTypeId(java.lang.String documentTypeId)
sets the unique qualified Id of particular document type within the repository

Parameters:
documentTypeId -

getSchemaLocation

public java.lang.String getSchemaLocation()
Returns:
String - the identifier for the schema location in the repository
See Also:
DocumentManagementService.getSchemaDefinition(String)

setSchemaLocation

public void setSchemaLocation(java.lang.String schemaLocation)
Sets the identifier for exactly one XSD schema location in the repository

Parameters:
schemaLocation -
See Also:
DocumentManagementService.getSchemaDefinition(String)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2013 SunGard CSA LLC. All Rights Reserved.