| java.lang.Object org.openharmonise.vfs.metadata.value.DomainValue
All known Subclasses: org.openharmonise.localversioningfilesystem.value.LVVFSDomainValue, org.openharmonise.webdav.client.value.DAVDomainValue,
DomainValue | public class DomainValue implements ValueInstance(Code) | | This is the value for domain type properties.
author: Matthew Large version: $Revision: 1.1 $ |
COLLECTION | public static String COLLECTION(Code) | | Collection resource type identifier.
|
PROPERTY | public static String PROPERTY(Code) | | Property resource type identifier.
|
RESOURCE | public static String RESOURCE(Code) | | Resource resource type identifier.
|
VALUE | public static String VALUE(Code) | | Value resource type identifier.
|
DomainValue | public DomainValue()(Code) | | |
DomainValue | public DomainValue(String sPath)(Code) | | Constructs a new domain value.
Parameters: sPath - Full path |
DomainValue | public DomainValue(String sPath, int nMinOccurs, int nMaxOccurs, List aContentTypes, String sResourceType)(Code) | | Constructs a new domain value.
Parameters: sPath - Full path Parameters: nMinOccurs - Minimum occurrence Parameters: nMaxOccurs - Maximum occurrence Parameters: aContentTypes - List of content types Parameters: sResourceType - Resource type |
addContentType | public void addContentType(String sContentType)(Code) | | Adds a content type.
Parameters: sContentType - Content type |
getContentTypes | public List getContentTypes()(Code) | | Returns a list of content types.
List of content types. |
getMaxOccurs | public int getMaxOccurs()(Code) | | Returns the maximum occurrence
Maximum occurrence |
getMinOccurs | public int getMinOccurs()(Code) | | Returns the minimum occurrence
Minimum occurrence |
getPath | public String getPath()(Code) | | Returns the full path.
Full path |
getResourceType | public String getResourceType()(Code) | | Returns the resource type.
Resource type |
setContentTypes | public void setContentTypes(List aContentTypes)(Code) | | Sets the list of content types.
Parameters: aContentTypes - List of content types. |
setMaxOccurs | public void setMaxOccurs(int nMaxOccurs)(Code) | | Sets the maximum occurrence.
Parameters: nMaxOccurs - Maximum occurrence |
setMinOccurs | public void setMinOccurs(int nMinOccurs)(Code) | | Sets the minimum occurrence.
Parameters: nMinOccurs - Minimum occurrence |
setPath | public void setPath(String sPath)(Code) | | Sets the full path.
Parameters: sPath - Full path |
setResourceType | public void setResourceType(String sResourceType)(Code) | | Sets the resource type.
Parameters: sResourceType - Resource type |
|
|