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:
Serializable

public class DocumentType
extends Object
implements Serializable

Describes the meta data structure of a document which can be set by using ResourceInfo.setProperties(java.util.Map) and retrieved by using ResourceInfo.getProperties()
The preferred way of retrieving DocumentTypes should be by usage of DocumentTypeUtils

See Also:
Serialized Form

Constructor Summary
DocumentType(String documentTypeId, String schemaLocation)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDocumentTypeId()
           
 String getSchemaLocation()
           
 void setDocumentTypeId(String documentTypeId)
          sets the unique qualified Id of particular document type within the repository
 void setSchemaLocation(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(String documentTypeId,
                    String schemaLocation)
Method Detail

getDocumentTypeId

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

setDocumentTypeId

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

Parameters:
documentTypeId -

getSchemaLocation

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

setSchemaLocation

public void setSchemaLocation(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(Object obj)
Overrides:
equals in class Object


Copyright © 2017 Eclipse Stardust. All Rights Reserved.