chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dcaru...@apache.org
Subject svn commit: r936933 [8/10] - in /incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons: chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/ chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencm...
Date Thu, 22 Apr 2010 16:18:25 GMT
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/RepositoryCapabilitiesImpl.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/RepositoryCapabilitiesImpl.java?rev=936933&r1=936932&r2=936933&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/RepositoryCapabilitiesImpl.java
(original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/RepositoryCapabilitiesImpl.java
Thu Apr 22 16:18:22 2010
@@ -32,241 +32,241 @@ import org.apache.chemistry.opencmis.com
  */
 public class RepositoryCapabilitiesImpl extends AbstractExtensionData implements RepositoryCapabilities
{
 
-	private static final long serialVersionUID = 1L;
+    private static final long serialVersionUID = 1L;
 
-	private Boolean fAllVersionsSearchable;
-	private CapabilityAcl fCapabilityAcl;
-	private CapabilityChanges fCapabilityChanges;
-	private CapabilityContentStreamUpdates fCapabilityContentStreamUpdates;
-	private CapabilityJoin fCapabilityJoin;
-	private CapabilityQuery fCapabilityQuery;
-	private CapabilityRenditions fCapabilityRendition;
-	private Boolean fIsPwcSearchable;
-	private Boolean fIsPwcUpdatable;
-	private Boolean fSupportsGetDescendants;
-	private Boolean fSupportsGetFolderTree;
-	private Boolean fSupportsMultifiling;
-	private Boolean fSupportsUnfiling;
-	private Boolean fSupportsVersionSpecificFiling;
-
-	/**
-	 * Constructor.
-	 */
-	public RepositoryCapabilitiesImpl() {
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @seeorg.apache.opencmis.client.provider.RepositoryCapabilitiesData#
-	 * allVersionsSearchable()
-	 */
-	public Boolean isAllVersionsSearchableSupported() {
-		return fAllVersionsSearchable;
-	}
-
-	public void setAllVersionsSearchable(Boolean allVersionsSearchable) {
-		fAllVersionsSearchable = allVersionsSearchable;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @seeorg.apache.opencmis.client.provider.RepositoryCapabilitiesData#
-	 * getCapabilityACL()
-	 */
-	public CapabilityAcl getAclCapability() {
-		return fCapabilityAcl;
-	}
-
-	public void setCapabilityAcl(CapabilityAcl capabilityAcl) {
-		fCapabilityAcl = capabilityAcl;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @seeorg.apache.opencmis.client.provider.RepositoryCapabilitiesData#
-	 * getCapabilityChanges()
-	 */
-	public CapabilityChanges getChangesCapability() {
-		return fCapabilityChanges;
-	}
-
-	public void setCapabilityChanges(CapabilityChanges capabilityChanges) {
-		fCapabilityChanges = capabilityChanges;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @seeorg.apache.opencmis.client.provider.RepositoryCapabilitiesData#
-	 * getCapabilityContentStreamUpdatability ()
-	 */
-	public CapabilityContentStreamUpdates getContentStreamUpdatesCapability() {
-		return fCapabilityContentStreamUpdates;
-	}
-
-	public void setCapabilityContentStreamUpdates(CapabilityContentStreamUpdates capabilityContentStreamUpdates)
{
-		fCapabilityContentStreamUpdates = capabilityContentStreamUpdates;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @seeorg.apache.opencmis.client.provider.RepositoryCapabilitiesData#
-	 * getCapabilityJoin()
-	 */
-	public CapabilityJoin getJoinCapability() {
-		return fCapabilityJoin;
-	}
-
-	public void setCapabilityJoin(CapabilityJoin capabilityJoin) {
-		fCapabilityJoin = capabilityJoin;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @seeorg.apache.opencmis.client.provider.RepositoryCapabilitiesData#
-	 * getCapabilityQuery()
-	 */
-	public CapabilityQuery getQueryCapability() {
-		return fCapabilityQuery;
-	}
-
-	public void setCapabilityQuery(CapabilityQuery capabilityQuery) {
-		fCapabilityQuery = capabilityQuery;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @seeorg.apache.opencmis.client.provider.RepositoryCapabilitiesData#
-	 * getCapabilityRenditions()
-	 */
-	public CapabilityRenditions getRenditionsCapability() {
-		return fCapabilityRendition;
-	}
-
-	public void setCapabilityRendition(CapabilityRenditions capabilityRendition) {
-		fCapabilityRendition = capabilityRendition;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @seeorg.apache.opencmis.client.provider.RepositoryCapabilitiesData#
-	 * isPwcSearchable()
-	 */
-	public Boolean isPwcSearchableSupported() {
-		return fIsPwcSearchable;
-	}
-
-	public void setIsPwcSearchable(Boolean isPwcSearchable) {
-		fIsPwcSearchable = isPwcSearchable;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see
-	 * org.apache.opencmis.client.provider.RepositoryCapabilitiesData#isPwcUpdatable
-	 * ()
-	 */
-	public Boolean isPwcUpdatableSupported() {
-		return fIsPwcUpdatable;
-	}
-
-	public void setIsPwcUpdatable(Boolean isPwcUpdatable) {
-		fIsPwcUpdatable = isPwcUpdatable;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @seeorg.apache.opencmis.client.provider.RepositoryCapabilitiesData#
-	 * supportsGetDescendants()
-	 */
-	public Boolean isGetDescendantsSupported() {
-		return fSupportsGetDescendants;
-	}
-
-	public void setSupportsGetDescendants(Boolean supportsGetDescendants) {
-		fSupportsGetDescendants = supportsGetDescendants;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @seeorg.apache.opencmis.client.provider.RepositoryCapabilitiesData#
-	 * supportsGetFolderTree()
-	 */
-	public Boolean isGetFolderTreeSupported() {
-		return fSupportsGetFolderTree;
-	}
-
-	public void setSupportsGetFolderTree(Boolean supportsGetFolderTree) {
-		fSupportsGetFolderTree = supportsGetFolderTree;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @seeorg.apache.opencmis.client.provider.RepositoryCapabilitiesData#
-	 * supportsMultifiling()
-	 */
-	public Boolean isMultifilingSupported() {
-		return fSupportsMultifiling;
-	}
-
-	public void setSupportsMultifiling(Boolean supportsMultifiling) {
-		fSupportsMultifiling = supportsMultifiling;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @seeorg.apache.opencmis.client.provider.RepositoryCapabilitiesData#
-	 * supportsUnfiling()
-	 */
-	public Boolean isUnfilingSupported() {
-		return fSupportsUnfiling;
-	}
-
-	public void setSupportsUnfiling(Boolean supportsUnfiling) {
-		fSupportsUnfiling = supportsUnfiling;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @seeorg.apache.opencmis.client.provider.RepositoryCapabilitiesData#
-	 * supportsVersionSpecificFiling()
-	 */
-	public Boolean isVersionSpecificFilingSupported() {
-		return fSupportsVersionSpecificFiling;
-	}
-
-	public void setSupportsVersionSpecificFiling(Boolean supportsVersionSpecificFiling) {
-		fSupportsVersionSpecificFiling = supportsVersionSpecificFiling;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.lang.Object#toString()
-	 */
-	@Override
-	public String toString() {
-		return "Repository Capabilities [all versions searchable=" + fAllVersionsSearchable + ",
capability ACL="
-				+ fCapabilityAcl + ", capability changes=" + fCapabilityChanges
-				+ ", capability content stream updates=" + fCapabilityContentStreamUpdates + ", capability
join="
-				+ fCapabilityJoin + ", capability query=" + fCapabilityQuery + ", capability rendition="
-				+ fCapabilityRendition + ", is PWC searchable=" + fIsPwcSearchable + ", is PWC updatable="
-				+ fIsPwcUpdatable + ", supports GetDescendants=" + fSupportsGetDescendants
-				+ ", supports GetFolderTree=" + fSupportsGetFolderTree + ", supports multifiling="
-				+ fSupportsMultifiling + ", supports unfiling=" + fSupportsUnfiling
-				+ ", supports version specific filing=" + fSupportsVersionSpecificFiling + "]" + super.toString();
-	}
+    private Boolean fAllVersionsSearchable;
+    private CapabilityAcl fCapabilityAcl;
+    private CapabilityChanges fCapabilityChanges;
+    private CapabilityContentStreamUpdates fCapabilityContentStreamUpdates;
+    private CapabilityJoin fCapabilityJoin;
+    private CapabilityQuery fCapabilityQuery;
+    private CapabilityRenditions fCapabilityRendition;
+    private Boolean fIsPwcSearchable;
+    private Boolean fIsPwcUpdatable;
+    private Boolean fSupportsGetDescendants;
+    private Boolean fSupportsGetFolderTree;
+    private Boolean fSupportsMultifiling;
+    private Boolean fSupportsUnfiling;
+    private Boolean fSupportsVersionSpecificFiling;
+
+    /**
+     * Constructor.
+     */
+    public RepositoryCapabilitiesImpl() {
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @seeorg.apache.opencmis.client.provider.RepositoryCapabilitiesData#
+     * allVersionsSearchable()
+     */
+    public Boolean isAllVersionsSearchableSupported() {
+        return fAllVersionsSearchable;
+    }
+
+    public void setAllVersionsSearchable(Boolean allVersionsSearchable) {
+        fAllVersionsSearchable = allVersionsSearchable;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @seeorg.apache.opencmis.client.provider.RepositoryCapabilitiesData#
+     * getCapabilityACL()
+     */
+    public CapabilityAcl getAclCapability() {
+        return fCapabilityAcl;
+    }
+
+    public void setCapabilityAcl(CapabilityAcl capabilityAcl) {
+        fCapabilityAcl = capabilityAcl;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @seeorg.apache.opencmis.client.provider.RepositoryCapabilitiesData#
+     * getCapabilityChanges()
+     */
+    public CapabilityChanges getChangesCapability() {
+        return fCapabilityChanges;
+    }
+
+    public void setCapabilityChanges(CapabilityChanges capabilityChanges) {
+        fCapabilityChanges = capabilityChanges;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @seeorg.apache.opencmis.client.provider.RepositoryCapabilitiesData#
+     * getCapabilityContentStreamUpdatability ()
+     */
+    public CapabilityContentStreamUpdates getContentStreamUpdatesCapability() {
+        return fCapabilityContentStreamUpdates;
+    }
+
+    public void setCapabilityContentStreamUpdates(CapabilityContentStreamUpdates capabilityContentStreamUpdates)
{
+        fCapabilityContentStreamUpdates = capabilityContentStreamUpdates;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @seeorg.apache.opencmis.client.provider.RepositoryCapabilitiesData#
+     * getCapabilityJoin()
+     */
+    public CapabilityJoin getJoinCapability() {
+        return fCapabilityJoin;
+    }
+
+    public void setCapabilityJoin(CapabilityJoin capabilityJoin) {
+        fCapabilityJoin = capabilityJoin;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @seeorg.apache.opencmis.client.provider.RepositoryCapabilitiesData#
+     * getCapabilityQuery()
+     */
+    public CapabilityQuery getQueryCapability() {
+        return fCapabilityQuery;
+    }
+
+    public void setCapabilityQuery(CapabilityQuery capabilityQuery) {
+        fCapabilityQuery = capabilityQuery;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @seeorg.apache.opencmis.client.provider.RepositoryCapabilitiesData#
+     * getCapabilityRenditions()
+     */
+    public CapabilityRenditions getRenditionsCapability() {
+        return fCapabilityRendition;
+    }
+
+    public void setCapabilityRendition(CapabilityRenditions capabilityRendition) {
+        fCapabilityRendition = capabilityRendition;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @seeorg.apache.opencmis.client.provider.RepositoryCapabilitiesData#
+     * isPwcSearchable()
+     */
+    public Boolean isPwcSearchableSupported() {
+        return fIsPwcSearchable;
+    }
+
+    public void setIsPwcSearchable(Boolean isPwcSearchable) {
+        fIsPwcSearchable = isPwcSearchable;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see
+     * org.apache.opencmis.client.provider.RepositoryCapabilitiesData#isPwcUpdatable
+     * ()
+     */
+    public Boolean isPwcUpdatableSupported() {
+        return fIsPwcUpdatable;
+    }
+
+    public void setIsPwcUpdatable(Boolean isPwcUpdatable) {
+        fIsPwcUpdatable = isPwcUpdatable;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @seeorg.apache.opencmis.client.provider.RepositoryCapabilitiesData#
+     * supportsGetDescendants()
+     */
+    public Boolean isGetDescendantsSupported() {
+        return fSupportsGetDescendants;
+    }
+
+    public void setSupportsGetDescendants(Boolean supportsGetDescendants) {
+        fSupportsGetDescendants = supportsGetDescendants;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @seeorg.apache.opencmis.client.provider.RepositoryCapabilitiesData#
+     * supportsGetFolderTree()
+     */
+    public Boolean isGetFolderTreeSupported() {
+        return fSupportsGetFolderTree;
+    }
+
+    public void setSupportsGetFolderTree(Boolean supportsGetFolderTree) {
+        fSupportsGetFolderTree = supportsGetFolderTree;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @seeorg.apache.opencmis.client.provider.RepositoryCapabilitiesData#
+     * supportsMultifiling()
+     */
+    public Boolean isMultifilingSupported() {
+        return fSupportsMultifiling;
+    }
+
+    public void setSupportsMultifiling(Boolean supportsMultifiling) {
+        fSupportsMultifiling = supportsMultifiling;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @seeorg.apache.opencmis.client.provider.RepositoryCapabilitiesData#
+     * supportsUnfiling()
+     */
+    public Boolean isUnfilingSupported() {
+        return fSupportsUnfiling;
+    }
+
+    public void setSupportsUnfiling(Boolean supportsUnfiling) {
+        fSupportsUnfiling = supportsUnfiling;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @seeorg.apache.opencmis.client.provider.RepositoryCapabilitiesData#
+     * supportsVersionSpecificFiling()
+     */
+    public Boolean isVersionSpecificFilingSupported() {
+        return fSupportsVersionSpecificFiling;
+    }
+
+    public void setSupportsVersionSpecificFiling(Boolean supportsVersionSpecificFiling) {
+        fSupportsVersionSpecificFiling = supportsVersionSpecificFiling;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see java.lang.Object#toString()
+     */
+    @Override
+    public String toString() {
+        return "Repository Capabilities [all versions searchable=" + fAllVersionsSearchable
+ ", capability ACL="
+                + fCapabilityAcl + ", capability changes=" + fCapabilityChanges
+                + ", capability content stream updates=" + fCapabilityContentStreamUpdates
+ ", capability join="
+                + fCapabilityJoin + ", capability query=" + fCapabilityQuery + ", capability
rendition="
+                + fCapabilityRendition + ", is PWC searchable=" + fIsPwcSearchable + ", is
PWC updatable="
+                + fIsPwcUpdatable + ", supports GetDescendants=" + fSupportsGetDescendants
+                + ", supports GetFolderTree=" + fSupportsGetFolderTree + ", supports multifiling="
+                + fSupportsMultifiling + ", supports unfiling=" + fSupportsUnfiling
+                + ", supports version specific filing=" + fSupportsVersionSpecificFiling
+ "]" + super.toString();
+    }
 }

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/RepositoryInfoImpl.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/RepositoryInfoImpl.java?rev=936933&r1=936932&r2=936933&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/RepositoryInfoImpl.java
(original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/RepositoryInfoImpl.java
Thu Apr 22 16:18:22 2010
@@ -33,187 +33,187 @@ import org.apache.chemistry.opencmis.com
  */
 public class RepositoryInfoImpl extends AbstractExtensionData implements RepositoryInfo {
 
-	private static final long serialVersionUID = 1L;
+    private static final long serialVersionUID = 1L;
 
-	private String fId;
-	private String fName;
-	private String fDescription;
-	private String fVersionSupported;
-	private RepositoryCapabilities fCapabilities;
-	private String fRootFolderId;
-	private AclCapabilities fAclCapabilities;
-	private String fPrincipalAnonymous;
-	private String fPrincipalAnyone;
-	private String fThinClientUri;
-	private Boolean fChangesIncomplete;
-	private List<BaseTypeId> fChangesOnType;
-	private String fLatestChangeLogToken;
-	private String fVendorName;
-	private String fProductName;
-	private String fProductVersion;
-
-	/**
-	 * Constructor.
-	 */
-	public RepositoryInfoImpl() {
-	}
-
-	public RepositoryInfoImpl(RepositoryInfo data) {
-		fId = data.getId();
-		fName = data.getName();
-		fDescription = data.getDescription();
-		fVersionSupported = data.getCmisVersionSupported();
-		fCapabilities = data.getCapabilities();
-		fRootFolderId = data.getRootFolderId();
-		fAclCapabilities = data.getAclCapabilities();
-		fPrincipalAnonymous = data.getPrincipalIdAnonymous();
-		fPrincipalAnyone = data.getPrincipalIdAnyone();
-		fThinClientUri = data.getThinClientUri();
-		fChangesIncomplete = data.getChangesIncomplete();
-		fChangesOnType = data.getChangesOnType();
-		fLatestChangeLogToken = data.getLatestChangeLogToken();
-		fVendorName = data.getVendorName();
-		fProductName = data.getProductName();
-		fProductVersion = data.getProductVersion();
-	}
-
-	public String getId() {
-		return fId;
-	}
-
-	public void setRepositoryId(String id) {
-		fId = id;
-	}
-
-	public String getName() {
-		return fName;
-	}
-
-	public void setRepositoryName(String name) {
-		fName = name;
-	}
-
-	public String getDescription() {
-		return fDescription;
-	}
-
-	public void setRepositoryDescription(String description) {
-		fDescription = description;
-	}
-
-	public String getCmisVersionSupported() {
-		return fVersionSupported;
-	}
-
-	public void setCmisVersionSupported(String versionSupported) {
-		fVersionSupported = versionSupported;
-	}
-
-	public RepositoryCapabilities getCapabilities() {
-		return fCapabilities;
-	}
-
-	public void setRepositoryCapabilities(RepositoryCapabilities capabilities) {
-		fCapabilities = capabilities;
-	}
-
-	public String getRootFolderId() {
-		return fRootFolderId;
-	}
-
-	public void setRootFolder(String rootFolderId) {
-		fRootFolderId = rootFolderId;
-	}
-
-	public AclCapabilities getAclCapabilities() {
-		return fAclCapabilities;
-	}
-
-	public void setAclCapabilities(AclCapabilities aclCapabilities) {
-		fAclCapabilities = aclCapabilities;
-	}
-
-	public String getPrincipalIdAnonymous() {
-		return fPrincipalAnonymous;
-	}
-
-	public void setPrincipalAnonymous(String principalAnonymous) {
-		fPrincipalAnonymous = principalAnonymous;
-	}
-
-	public String getPrincipalIdAnyone() {
-		return fPrincipalAnyone;
-	}
-
-	public void setPrincipalAnyone(String principalAnyone) {
-		fPrincipalAnyone = principalAnyone;
-	}
-
-	public String getThinClientUri() {
-		return fThinClientUri;
-	}
-
-	public void setThinClientUri(String thinClientUri) {
-		fThinClientUri = thinClientUri;
-	}
-
-	public Boolean getChangesIncomplete() {
-		return fChangesIncomplete;
-	}
-
-	public void setChangesIncomplete(Boolean changesIncomplete) {
-		fChangesIncomplete = changesIncomplete;
-	}
-
-	public List<BaseTypeId> getChangesOnType() {
-		return fChangesOnType;
-	}
-
-	public void setChangesOnType(List<BaseTypeId> changesOnType) {
-		fChangesOnType = changesOnType;
-	}
-
-	public String getLatestChangeLogToken() {
-		return fLatestChangeLogToken;
-	}
-
-	public void setLatestChangeLogToken(String latestChangeLogToken) {
-		fLatestChangeLogToken = latestChangeLogToken;
-	}
-
-	public String getVendorName() {
-		return fVendorName;
-	}
-
-	public void setVendorName(String vendorName) {
-		fVendorName = vendorName;
-	}
-
-	public String getProductName() {
-		return fProductName;
-	}
-
-	public void setProductName(String productName) {
-		fProductName = productName;
-	}
-
-	public String getProductVersion() {
-		return fProductVersion;
-	}
-
-	public void setProductVersion(String productVersion) {
-		fProductVersion = productVersion;
-	}
-
-	@Override
-	public String toString() {
-		return "Repository Info [id=" + fId + ", name=" + fName + ", description=" + fDescription
+ ", capabilities="
-				+ fCapabilities + ", ACL capabilities=" + fAclCapabilities + ", changes incomplete="
-				+ fChangesIncomplete + ", changes on type=" + fChangesOnType + ", latest change log token="
-				+ fLatestChangeLogToken + ", principal anonymous=" + fPrincipalAnonymous + ", principal
anyone="
-				+ fPrincipalAnyone + ", vendor name=" + fVendorName + ", product name=" + fProductName
-				+ ", product version=" + fProductVersion + ", root folder id=" + fRootFolderId + ", thin
client URI="
-				+ fThinClientUri + ", version supported=" + fVersionSupported + "]" + super.toString();
-	}
+    private String fId;
+    private String fName;
+    private String fDescription;
+    private String fVersionSupported;
+    private RepositoryCapabilities fCapabilities;
+    private String fRootFolderId;
+    private AclCapabilities fAclCapabilities;
+    private String fPrincipalAnonymous;
+    private String fPrincipalAnyone;
+    private String fThinClientUri;
+    private Boolean fChangesIncomplete;
+    private List<BaseTypeId> fChangesOnType;
+    private String fLatestChangeLogToken;
+    private String fVendorName;
+    private String fProductName;
+    private String fProductVersion;
+
+    /**
+     * Constructor.
+     */
+    public RepositoryInfoImpl() {
+    }
+
+    public RepositoryInfoImpl(RepositoryInfo data) {
+        fId = data.getId();
+        fName = data.getName();
+        fDescription = data.getDescription();
+        fVersionSupported = data.getCmisVersionSupported();
+        fCapabilities = data.getCapabilities();
+        fRootFolderId = data.getRootFolderId();
+        fAclCapabilities = data.getAclCapabilities();
+        fPrincipalAnonymous = data.getPrincipalIdAnonymous();
+        fPrincipalAnyone = data.getPrincipalIdAnyone();
+        fThinClientUri = data.getThinClientUri();
+        fChangesIncomplete = data.getChangesIncomplete();
+        fChangesOnType = data.getChangesOnType();
+        fLatestChangeLogToken = data.getLatestChangeLogToken();
+        fVendorName = data.getVendorName();
+        fProductName = data.getProductName();
+        fProductVersion = data.getProductVersion();
+    }
+
+    public String getId() {
+        return fId;
+    }
+
+    public void setRepositoryId(String id) {
+        fId = id;
+    }
+
+    public String getName() {
+        return fName;
+    }
+
+    public void setRepositoryName(String name) {
+        fName = name;
+    }
+
+    public String getDescription() {
+        return fDescription;
+    }
+
+    public void setRepositoryDescription(String description) {
+        fDescription = description;
+    }
+
+    public String getCmisVersionSupported() {
+        return fVersionSupported;
+    }
+
+    public void setCmisVersionSupported(String versionSupported) {
+        fVersionSupported = versionSupported;
+    }
+
+    public RepositoryCapabilities getCapabilities() {
+        return fCapabilities;
+    }
+
+    public void setRepositoryCapabilities(RepositoryCapabilities capabilities) {
+        fCapabilities = capabilities;
+    }
+
+    public String getRootFolderId() {
+        return fRootFolderId;
+    }
+
+    public void setRootFolder(String rootFolderId) {
+        fRootFolderId = rootFolderId;
+    }
+
+    public AclCapabilities getAclCapabilities() {
+        return fAclCapabilities;
+    }
+
+    public void setAclCapabilities(AclCapabilities aclCapabilities) {
+        fAclCapabilities = aclCapabilities;
+    }
+
+    public String getPrincipalIdAnonymous() {
+        return fPrincipalAnonymous;
+    }
+
+    public void setPrincipalAnonymous(String principalAnonymous) {
+        fPrincipalAnonymous = principalAnonymous;
+    }
+
+    public String getPrincipalIdAnyone() {
+        return fPrincipalAnyone;
+    }
+
+    public void setPrincipalAnyone(String principalAnyone) {
+        fPrincipalAnyone = principalAnyone;
+    }
+
+    public String getThinClientUri() {
+        return fThinClientUri;
+    }
+
+    public void setThinClientUri(String thinClientUri) {
+        fThinClientUri = thinClientUri;
+    }
+
+    public Boolean getChangesIncomplete() {
+        return fChangesIncomplete;
+    }
+
+    public void setChangesIncomplete(Boolean changesIncomplete) {
+        fChangesIncomplete = changesIncomplete;
+    }
+
+    public List<BaseTypeId> getChangesOnType() {
+        return fChangesOnType;
+    }
+
+    public void setChangesOnType(List<BaseTypeId> changesOnType) {
+        fChangesOnType = changesOnType;
+    }
+
+    public String getLatestChangeLogToken() {
+        return fLatestChangeLogToken;
+    }
+
+    public void setLatestChangeLogToken(String latestChangeLogToken) {
+        fLatestChangeLogToken = latestChangeLogToken;
+    }
+
+    public String getVendorName() {
+        return fVendorName;
+    }
+
+    public void setVendorName(String vendorName) {
+        fVendorName = vendorName;
+    }
+
+    public String getProductName() {
+        return fProductName;
+    }
+
+    public void setProductName(String productName) {
+        fProductName = productName;
+    }
+
+    public String getProductVersion() {
+        return fProductVersion;
+    }
+
+    public void setProductVersion(String productVersion) {
+        fProductVersion = productVersion;
+    }
+
+    @Override
+    public String toString() {
+        return "Repository Info [id=" + fId + ", name=" + fName + ", description=" + fDescription
+ ", capabilities="
+                + fCapabilities + ", ACL capabilities=" + fAclCapabilities + ", changes incomplete="
+                + fChangesIncomplete + ", changes on type=" + fChangesOnType + ", latest
change log token="
+                + fLatestChangeLogToken + ", principal anonymous=" + fPrincipalAnonymous
+ ", principal anyone="
+                + fPrincipalAnyone + ", vendor name=" + fVendorName + ", product name=" +
fProductName
+                + ", product version=" + fProductVersion + ", root folder id=" + fRootFolderId
+ ", thin client URI="
+                + fThinClientUri + ", version supported=" + fVersionSupported + "]" + super.toString();
+    }
 
 }

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/TypeDefinitionContainerImpl.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/TypeDefinitionContainerImpl.java?rev=936933&r1=936932&r2=936933&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/TypeDefinitionContainerImpl.java
(original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/TypeDefinitionContainerImpl.java
Thu Apr 22 16:18:22 2010
@@ -30,53 +30,53 @@ import org.apache.chemistry.opencmis.com
  */
 public class TypeDefinitionContainerImpl extends AbstractExtensionData implements TypeDefinitionContainer
{
 
-	private TypeDefinition fType;
-	private List<TypeDefinitionContainer> fChildren;
+    private TypeDefinition fType;
+    private List<TypeDefinitionContainer> fChildren;
 
-	public TypeDefinitionContainerImpl() {
-	}
+    public TypeDefinitionContainerImpl() {
+    }
 
-	public TypeDefinitionContainerImpl(TypeDefinition typeDef) {
-		setTypeDefinition(typeDef);
-		fChildren = new ArrayList<TypeDefinitionContainer>();
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see
-	 * org.apache.opencmis.client.provider.TypeDefinitionContainer#getTypeDefinition
-	 * ()
-	 */
-	public TypeDefinition getTypeDefinition() {
-		return fType;
-	}
-
-	public void setTypeDefinition(TypeDefinition type) {
-		fType = type;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see
-	 * org.apache.opencmis.client.provider.TypeDefinitionContainer#getChildren()
-	 */
-	public List<TypeDefinitionContainer> getChildren() {
-		return fChildren;
-	}
-
-	public void setChildren(List<TypeDefinitionContainer> children) {
-		fChildren = children;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.lang.Object#toString()
-	 */
-	@Override
-	public String toString() {
-		return "Type Definition Container [type=" + fType + " ,children=" + fChildren + "]" + super.toString();
-	}
+    public TypeDefinitionContainerImpl(TypeDefinition typeDef) {
+        setTypeDefinition(typeDef);
+        fChildren = new ArrayList<TypeDefinitionContainer>();
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see
+     * org.apache.opencmis.client.provider.TypeDefinitionContainer#getTypeDefinition
+     * ()
+     */
+    public TypeDefinition getTypeDefinition() {
+        return fType;
+    }
+
+    public void setTypeDefinition(TypeDefinition type) {
+        fType = type;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see
+     * org.apache.opencmis.client.provider.TypeDefinitionContainer#getChildren()
+     */
+    public List<TypeDefinitionContainer> getChildren() {
+        return fChildren;
+    }
+
+    public void setChildren(List<TypeDefinitionContainer> children) {
+        fChildren = children;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see java.lang.Object#toString()
+     */
+    @Override
+    public String toString() {
+        return "Type Definition Container [type=" + fType + " ,children=" + fChildren + "]"
+ super.toString();
+    }
 }

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/TypeDefinitionListImpl.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/TypeDefinitionListImpl.java?rev=936933&r1=936932&r2=936933&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/TypeDefinitionListImpl.java
(original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/TypeDefinitionListImpl.java
Thu Apr 22 16:18:22 2010
@@ -30,57 +30,57 @@ import org.apache.chemistry.opencmis.com
  */
 public class TypeDefinitionListImpl extends AbstractExtensionData implements TypeDefinitionList
{
 
-	private List<TypeDefinition> fList;
-	private Boolean fHasMoreItems = Boolean.FALSE;
-	private BigInteger fNumItems;
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see org.apache.opencmis.client.provider.TypeDefintionList#getList()
-	 */
-	public List<TypeDefinition> getList() {
-		return fList;
-	}
-
-	public void setList(List<TypeDefinition> list) {
-		fList = list;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see org.apache.opencmis.client.provider.TypeDefintionList#hasMoreItems()
-	 */
-	public Boolean hasMoreItems() {
-		return fHasMoreItems;
-	}
-
-	public void setHasMoreItems(Boolean hasMoreItems) {
-		fHasMoreItems = hasMoreItems;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see org.apache.opencmis.client.provider.TypeDefintionList#getNumItems()
-	 */
-	public BigInteger getNumItems() {
-		return fNumItems;
-	}
-
-	public void setNumItems(BigInteger numItems) {
-		fNumItems = numItems;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.lang.Object#toString()
-	 */
-	@Override
-	public String toString() {
-		return "Type Definition List [list=" + fList + ", has more items=" + fHasMoreItems + ",
num items=" + fNumItems
-				+ "]" + super.toString();
-	}
+    private List<TypeDefinition> fList;
+    private Boolean fHasMoreItems = Boolean.FALSE;
+    private BigInteger fNumItems;
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.apache.opencmis.client.provider.TypeDefintionList#getList()
+     */
+    public List<TypeDefinition> getList() {
+        return fList;
+    }
+
+    public void setList(List<TypeDefinition> list) {
+        fList = list;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.apache.opencmis.client.provider.TypeDefintionList#hasMoreItems()
+     */
+    public Boolean hasMoreItems() {
+        return fHasMoreItems;
+    }
+
+    public void setHasMoreItems(Boolean hasMoreItems) {
+        fHasMoreItems = hasMoreItems;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.apache.opencmis.client.provider.TypeDefintionList#getNumItems()
+     */
+    public BigInteger getNumItems() {
+        return fNumItems;
+    }
+
+    public void setNumItems(BigInteger numItems) {
+        fNumItems = numItems;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see java.lang.Object#toString()
+     */
+    @Override
+    public String toString() {
+        return "Type Definition List [list=" + fList + ", has more items=" + fHasMoreItems
+ ", num items=" + fNumItems
+                + "]" + super.toString();
+    }
 }



Mime
View raw message