chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fguilla...@apache.org
Subject svn commit: r980509 [2/2] - in /incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons: chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/data/ chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/op...
Date Thu, 29 Jul 2010 17:05:19 GMT
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/server/ObjectInfoImpl.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/server/ObjectInfoImpl.java?rev=980509&r1=980508&r2=980509&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/server/ObjectInfoImpl.java
(original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/server/ObjectInfoImpl.java
Thu Jul 29 17:05:18 2010
@@ -1,258 +1,258 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.chemistry.opencmis.commons.impl.server;
-
-import java.util.GregorianCalendar;
-import java.util.List;
-
-import org.apache.chemistry.opencmis.commons.data.ObjectData;
-import org.apache.chemistry.opencmis.commons.enums.BaseTypeId;
-import org.apache.chemistry.opencmis.commons.server.ObjectInfo;
-import org.apache.chemistry.opencmis.commons.server.RenditionInfo;
-
-/**
- * Implementation of the {@link ObjectInfo} interface.
- */
-public class ObjectInfoImpl implements ObjectInfo {
-
-    private String id;
-    private String name;
-    private String createdBy;
-    private GregorianCalendar creationDate;
-    private GregorianCalendar lastModificationDate;
-    private String typeId;
-    private BaseTypeId baseTypeId;
-    private boolean isCurrentVersion = true;
-    private String versionSeriesId = null;
-    private String workingCopyId = null;
-    private String workingCopyOriginalId = null;
-    private boolean hasContent = true;
-    private String contentType = null;
-    private String fileName = null;
-    private List<RenditionInfo> renditionInfos = null;
-    private boolean supportsRelationships = false;
-    private boolean supportsPolicies = false;
-    private boolean hasAcl = false;
-    private boolean hasParent = true;
-    private boolean supportsDescendants = false;
-    private boolean supportsFolderTree = false;
-    private List<String> relationshipSourceIds = null;
-    private List<String> relationshipTargetIds = null;
-    private ObjectData object = null;
-
-    public ObjectInfoImpl() {
-    }
-
-    public ObjectInfoImpl(String id, BaseTypeId baseObjectTypeId) {
-        this.id = id;
-        baseTypeId = baseObjectTypeId;
-    }
-
-    public String getId() {
-        return id;
-    }
-
-    public void setId(String id) {
-        this.id = id;
-    }
-
-    public String getName() {
-        return name;
-    }
-
-    public void setName(String name) {
-        this.name = name;
-    }
-
-    public String getCreatedBy() {
-        return createdBy;
-    }
-
-    public void setCreatedBy(String createdBy) {
-        this.createdBy = createdBy;
-    }
-
-    public GregorianCalendar getCreationDate() {
-        return creationDate;
-    }
-
-    public void setCreationDate(GregorianCalendar creationDate) {
-        this.creationDate = creationDate;
-    }
-
-    public GregorianCalendar getLastModificationDate() {
-        return lastModificationDate;
-    }
-
-    public void setLastModificationDate(GregorianCalendar lastModificationDate) {
-        this.lastModificationDate = lastModificationDate;
-    }
-
-    public String getTypeId() {
-        return typeId;
-    }
-
-    public void setTypeId(String typeId) {
-        this.typeId = typeId;
-    }
-
-    public BaseTypeId getBaseType() {
-        return baseTypeId;
-    }
-
-    public void setBaseType(BaseTypeId baseObjectTypeId) {
-        this.baseTypeId = baseObjectTypeId;
-    }
-
-    public boolean isCurrentVersion() {
-        return isCurrentVersion;
-    }
-
-    public void setIsCurrentVersion(boolean currentVersion) {
-        this.isCurrentVersion = currentVersion;
-    }
-
-    public String getVersionSeriesId() {
-        return versionSeriesId;
-    }
-
-    public void setVersionSeriesId(String versionSeriesId) {
-        this.versionSeriesId = versionSeriesId;
-    }
-
-    public String getWorkingCopyId() {
-        return workingCopyId;
-    }
-
-    public void setWorkingCopyId(String workingCopyId) {
-        this.workingCopyId = workingCopyId;
-    }
-
-    public String getWorkingCopyOriginalId() {
-        return workingCopyOriginalId;
-    }
-
-    public void setWorkingCopyOriginalId(String workingCopyOriginalId) {
-        this.workingCopyOriginalId = workingCopyOriginalId;
-    }
-
-    public boolean hasContent() {
-        return hasContent;
-    }
-
-    public void setHasContent(boolean hasContent) {
-        this.hasContent = hasContent;
-    }
-
-    public String getContentType() {
-        return contentType;
-    }
-
-    public void setContentType(String contentType) {
-        this.contentType = contentType;
-    }
-
-    public String getFileName() {
-        return fileName;
-    }
-
-    public void setFileName(String fileName) {
-        this.fileName = fileName;
-    }
-
-    public List<RenditionInfo> getRenditionInfos() {
-        return renditionInfos;
-    }
-
-    public void setRenditionInfos(List<RenditionInfo> renditions) {
-        this.renditionInfos = renditions;
-    }
-
-    public boolean supportsRelationships() {
-        return supportsRelationships;
-    }
-
-    public void setSupportsRelationships(boolean supportsRelationships) {
-        this.supportsRelationships = supportsRelationships;
-    }
-
-    public boolean supportsPolicies() {
-        return supportsPolicies;
-    }
-
-    public void setSupportsPolicies(boolean supportsPolicies) {
-        this.supportsPolicies = supportsPolicies;
-    }
-
-    public boolean hasAcl() {
-        return hasAcl;
-    }
-
-    public void setHasAcl(boolean hasAcl) {
-        this.hasAcl = hasAcl;
-    }
-
-    public boolean hasParent() {
-        return hasParent;
-    }
-
-    public void setHasParent(boolean hasParent) {
-        this.hasParent = hasParent;
-    }
-
-    public boolean supportsDescendants() {
-        return supportsDescendants;
-    }
-
-    public void setSupportsDescendants(boolean supportsDescendants) {
-        this.supportsDescendants = supportsDescendants;
-    }
-
-    public boolean supportsFolderTree() {
-        return supportsFolderTree;
-    }
-
-    public void setSupportsFolderTree(boolean supportsFolderTree) {
-        this.supportsFolderTree = supportsFolderTree;
-    }
-
-    public List<String> getRelationshipSourceIds() {
-        return relationshipSourceIds;
-    }
-
-    public void setRelationshipSourceIds(List<String> relationshipSourceIds) {
-        this.relationshipSourceIds = relationshipSourceIds;
-    }
-
-    public List<String> getRelationshipTargetIds() {
-        return relationshipTargetIds;
-    }
-
-    public void setRelationshipTargetIds(List<String> relationshipTargetIds) {
-        this.relationshipTargetIds = relationshipTargetIds;
-    }
-
-    public ObjectData getObject() {
-        return object;
-    }
-
-    public void setObject(ObjectData object) {
-        this.object = object;
-    }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.chemistry.opencmis.commons.impl.server;
+
+import java.util.GregorianCalendar;
+import java.util.List;
+
+import org.apache.chemistry.opencmis.commons.data.ObjectData;
+import org.apache.chemistry.opencmis.commons.enums.BaseTypeId;
+import org.apache.chemistry.opencmis.commons.server.ObjectInfo;
+import org.apache.chemistry.opencmis.commons.server.RenditionInfo;
+
+/**
+ * Implementation of the {@link ObjectInfo} interface.
+ */
+public class ObjectInfoImpl implements ObjectInfo {
+
+    private String id;
+    private String name;
+    private String createdBy;
+    private GregorianCalendar creationDate;
+    private GregorianCalendar lastModificationDate;
+    private String typeId;
+    private BaseTypeId baseTypeId;
+    private boolean isCurrentVersion = true;
+    private String versionSeriesId = null;
+    private String workingCopyId = null;
+    private String workingCopyOriginalId = null;
+    private boolean hasContent = true;
+    private String contentType = null;
+    private String fileName = null;
+    private List<RenditionInfo> renditionInfos = null;
+    private boolean supportsRelationships = false;
+    private boolean supportsPolicies = false;
+    private boolean hasAcl = false;
+    private boolean hasParent = true;
+    private boolean supportsDescendants = false;
+    private boolean supportsFolderTree = false;
+    private List<String> relationshipSourceIds = null;
+    private List<String> relationshipTargetIds = null;
+    private ObjectData object = null;
+
+    public ObjectInfoImpl() {
+    }
+
+    public ObjectInfoImpl(String id, BaseTypeId baseObjectTypeId) {
+        this.id = id;
+        baseTypeId = baseObjectTypeId;
+    }
+
+    public String getId() {
+        return id;
+    }
+
+    public void setId(String id) {
+        this.id = id;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public String getCreatedBy() {
+        return createdBy;
+    }
+
+    public void setCreatedBy(String createdBy) {
+        this.createdBy = createdBy;
+    }
+
+    public GregorianCalendar getCreationDate() {
+        return creationDate;
+    }
+
+    public void setCreationDate(GregorianCalendar creationDate) {
+        this.creationDate = creationDate;
+    }
+
+    public GregorianCalendar getLastModificationDate() {
+        return lastModificationDate;
+    }
+
+    public void setLastModificationDate(GregorianCalendar lastModificationDate) {
+        this.lastModificationDate = lastModificationDate;
+    }
+
+    public String getTypeId() {
+        return typeId;
+    }
+
+    public void setTypeId(String typeId) {
+        this.typeId = typeId;
+    }
+
+    public BaseTypeId getBaseType() {
+        return baseTypeId;
+    }
+
+    public void setBaseType(BaseTypeId baseObjectTypeId) {
+        this.baseTypeId = baseObjectTypeId;
+    }
+
+    public boolean isCurrentVersion() {
+        return isCurrentVersion;
+    }
+
+    public void setIsCurrentVersion(boolean currentVersion) {
+        this.isCurrentVersion = currentVersion;
+    }
+
+    public String getVersionSeriesId() {
+        return versionSeriesId;
+    }
+
+    public void setVersionSeriesId(String versionSeriesId) {
+        this.versionSeriesId = versionSeriesId;
+    }
+
+    public String getWorkingCopyId() {
+        return workingCopyId;
+    }
+
+    public void setWorkingCopyId(String workingCopyId) {
+        this.workingCopyId = workingCopyId;
+    }
+
+    public String getWorkingCopyOriginalId() {
+        return workingCopyOriginalId;
+    }
+
+    public void setWorkingCopyOriginalId(String workingCopyOriginalId) {
+        this.workingCopyOriginalId = workingCopyOriginalId;
+    }
+
+    public boolean hasContent() {
+        return hasContent;
+    }
+
+    public void setHasContent(boolean hasContent) {
+        this.hasContent = hasContent;
+    }
+
+    public String getContentType() {
+        return contentType;
+    }
+
+    public void setContentType(String contentType) {
+        this.contentType = contentType;
+    }
+
+    public String getFileName() {
+        return fileName;
+    }
+
+    public void setFileName(String fileName) {
+        this.fileName = fileName;
+    }
+
+    public List<RenditionInfo> getRenditionInfos() {
+        return renditionInfos;
+    }
+
+    public void setRenditionInfos(List<RenditionInfo> renditions) {
+        this.renditionInfos = renditions;
+    }
+
+    public boolean supportsRelationships() {
+        return supportsRelationships;
+    }
+
+    public void setSupportsRelationships(boolean supportsRelationships) {
+        this.supportsRelationships = supportsRelationships;
+    }
+
+    public boolean supportsPolicies() {
+        return supportsPolicies;
+    }
+
+    public void setSupportsPolicies(boolean supportsPolicies) {
+        this.supportsPolicies = supportsPolicies;
+    }
+
+    public boolean hasAcl() {
+        return hasAcl;
+    }
+
+    public void setHasAcl(boolean hasAcl) {
+        this.hasAcl = hasAcl;
+    }
+
+    public boolean hasParent() {
+        return hasParent;
+    }
+
+    public void setHasParent(boolean hasParent) {
+        this.hasParent = hasParent;
+    }
+
+    public boolean supportsDescendants() {
+        return supportsDescendants;
+    }
+
+    public void setSupportsDescendants(boolean supportsDescendants) {
+        this.supportsDescendants = supportsDescendants;
+    }
+
+    public boolean supportsFolderTree() {
+        return supportsFolderTree;
+    }
+
+    public void setSupportsFolderTree(boolean supportsFolderTree) {
+        this.supportsFolderTree = supportsFolderTree;
+    }
+
+    public List<String> getRelationshipSourceIds() {
+        return relationshipSourceIds;
+    }
+
+    public void setRelationshipSourceIds(List<String> relationshipSourceIds) {
+        this.relationshipSourceIds = relationshipSourceIds;
+    }
+
+    public List<String> getRelationshipTargetIds() {
+        return relationshipTargetIds;
+    }
+
+    public void setRelationshipTargetIds(List<String> relationshipTargetIds) {
+        this.relationshipTargetIds = relationshipTargetIds;
+    }
+
+    public ObjectData getObject() {
+        return object;
+    }
+
+    public void setObject(ObjectData object) {
+        this.object = object;
+    }
+}

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/server/ObjectInfoImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/server/RenditionInfoImpl.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/server/RenditionInfoImpl.java?rev=980509&r1=980508&r2=980509&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/server/RenditionInfoImpl.java
(original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/server/RenditionInfoImpl.java
Thu Jul 29 17:05:18 2010
@@ -1,75 +1,75 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.chemistry.opencmis.commons.impl.server;
-
-import java.math.BigInteger;
-
-import org.apache.chemistry.opencmis.commons.server.RenditionInfo;
-
-/**
- * Implementation of the {@link RenditionInfo} interface.
- */
-public class RenditionInfoImpl implements RenditionInfo {
-
-    private String id;
-    private String contentType;
-    private String kind;
-    private String title;
-    private BigInteger length;
-
-    public String getId() {
-        return id;
-    }
-
-    public void setId(String id) {
-        this.id = id;
-    }
-
-    public String getContenType() {
-        return contentType;
-    }
-
-    public void setContentType(String contentType) {
-        this.contentType = contentType;
-    }
-
-    public String getKind() {
-        return kind;
-    }
-
-    public void setKind(String kind) {
-        this.kind = kind;
-    }
-
-    public String getTitle() {
-        return title;
-    }
-
-    public void setTitle(String title) {
-        this.title = title;
-    }
-
-    public BigInteger getLength() {
-        return length;
-    }
-
-    public void setLength(BigInteger length) {
-        this.length = length;
-    }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.chemistry.opencmis.commons.impl.server;
+
+import java.math.BigInteger;
+
+import org.apache.chemistry.opencmis.commons.server.RenditionInfo;
+
+/**
+ * Implementation of the {@link RenditionInfo} interface.
+ */
+public class RenditionInfoImpl implements RenditionInfo {
+
+    private String id;
+    private String contentType;
+    private String kind;
+    private String title;
+    private BigInteger length;
+
+    public String getId() {
+        return id;
+    }
+
+    public void setId(String id) {
+        this.id = id;
+    }
+
+    public String getContenType() {
+        return contentType;
+    }
+
+    public void setContentType(String contentType) {
+        this.contentType = contentType;
+    }
+
+    public String getKind() {
+        return kind;
+    }
+
+    public void setKind(String kind) {
+        this.kind = kind;
+    }
+
+    public String getTitle() {
+        return title;
+    }
+
+    public void setTitle(String title) {
+        this.title = title;
+    }
+
+    public BigInteger getLength() {
+        return length;
+    }
+
+    public void setLength(BigInteger length) {
+        this.length = length;
+    }
+}

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/server/RenditionInfoImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message