Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/BindingsObjectFactoryImpl.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/BindingsObjectFactoryImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/BindingsObjectFactoryImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/BindingsObjectFactoryImpl.java Thu Aug 13 12:05:59 2015 @@ -63,23 +63,28 @@ public class BindingsObjectFactoryImpl i public BindingsObjectFactoryImpl() { } + @Override public MutableAce createAccessControlEntry(String principal, List<String> permissions) { return new AccessControlEntryImpl(new AccessControlPrincipalDataImpl(principal), permissions); } + @Override public MutableAcl createAccessControlList(List<Ace> aces) { return new AccessControlListImpl(aces); } + @Override public MutableContentStream createContentStream(String filename, BigInteger length, String mimetype, InputStream stream) { return new ContentStreamImpl(filename, length, mimetype, stream); } + @Override public MutableProperties createPropertiesData(List<PropertyData<?>> properties) { return new PropertiesImpl(properties); } + @Override @SuppressWarnings("unchecked") public <T> MutablePropertyData<T> createPropertyData(PropertyDefinition<T> pd, Object value) { String id = pd.getId(); @@ -136,66 +141,82 @@ public class BindingsObjectFactoryImpl i throw new CmisRuntimeException("Unknown property definition: " + pd); } + @Override public MutablePropertyBoolean createPropertyBooleanData(String id, List<Boolean> values) { return new PropertyBooleanImpl(id, values); } + @Override public MutablePropertyBoolean createPropertyBooleanData(String id, Boolean value) { return new PropertyBooleanImpl(id, value); } + @Override public MutablePropertyDateTime createPropertyDateTimeData(String id, List<GregorianCalendar> values) { return new PropertyDateTimeImpl(id, values); } + @Override public MutablePropertyDateTime createPropertyDateTimeData(String id, GregorianCalendar value) { return new PropertyDateTimeImpl(id, value); } + @Override public MutablePropertyDecimal createPropertyDecimalData(String id, List<BigDecimal> values) { return new PropertyDecimalImpl(id, values); } + @Override public MutablePropertyDecimal createPropertyDecimalData(String id, BigDecimal value) { return new PropertyDecimalImpl(id, value); } + @Override public MutablePropertyHtml createPropertyHtmlData(String id, List<String> values) { return new PropertyHtmlImpl(id, values); } + @Override public MutablePropertyHtml createPropertyHtmlData(String id, String value) { return new PropertyHtmlImpl(id, value); } + @Override public MutablePropertyId createPropertyIdData(String id, List<String> values) { return new PropertyIdImpl(id, values); } + @Override public MutablePropertyId createPropertyIdData(String id, String value) { return new PropertyIdImpl(id, value); } + @Override public MutablePropertyInteger createPropertyIntegerData(String id, List<BigInteger> values) { return new PropertyIntegerImpl(id, values); } + @Override public MutablePropertyInteger createPropertyIntegerData(String id, BigInteger value) { return new PropertyIntegerImpl(id, value); } + @Override public MutablePropertyString createPropertyStringData(String id, List<String> values) { return new PropertyStringImpl(id, values); } + @Override public MutablePropertyString createPropertyStringData(String id, String value) { return new PropertyStringImpl(id, value); } + @Override public MutablePropertyUri createPropertyUriData(String id, List<String> values) { return new PropertyUriImpl(id, values); } + @Override public MutablePropertyUri createPropertyUriData(String id, String value) { return new PropertyUriImpl(id, value); }
Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/BulkUpdateObjectIdAndChangeTokenImpl.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/BulkUpdateObjectIdAndChangeTokenImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/BulkUpdateObjectIdAndChangeTokenImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/BulkUpdateObjectIdAndChangeTokenImpl.java Thu Aug 13 12:05:59 2015 @@ -55,14 +55,17 @@ public class BulkUpdateObjectIdAndChange setExtensions(extensions); } + @Override public String getId() { return id; } + @Override public String getNewId() { return newId; } + @Override public String getChangeToken() { return changeToken; } Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ChangeEventInfoDataImpl.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ChangeEventInfoDataImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ChangeEventInfoDataImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ChangeEventInfoDataImpl.java Thu Aug 13 12:05:59 2015 @@ -41,6 +41,7 @@ public class ChangeEventInfoDataImpl ext this.changeTime = changeTime; } + @Override public GregorianCalendar getChangeTime() { return changeTime; } @@ -49,6 +50,7 @@ public class ChangeEventInfoDataImpl ext this.changeTime = changeTime; } + @Override public ChangeType getChangeType() { return changeType; } Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ChoiceImpl.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ChoiceImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ChoiceImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ChoiceImpl.java Thu Aug 13 12:05:59 2015 @@ -34,6 +34,7 @@ public class ChoiceImpl<T> implements Ch private List<T> value; private List<Choice<T>> choice; + @Override public String getDisplayName() { return displayName; } @@ -42,6 +43,7 @@ public class ChoiceImpl<T> implements Ch this.displayName = displayName; } + @Override public List<T> getValue() { if (value == null) { value = new ArrayList<T>(); @@ -59,6 +61,7 @@ public class ChoiceImpl<T> implements Ch this.value.add(value); } + @Override public List<Choice<T>> getChoice() { if (choice == null) { choice = new ArrayList<Choice<T>>(); Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/CmisExtensionElementImpl.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/CmisExtensionElementImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/CmisExtensionElementImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/CmisExtensionElementImpl.java Thu Aug 13 12:05:59 2015 @@ -99,22 +99,27 @@ public class CmisExtensionElementImpl im this.children = element.getChildren(); } + @Override public String getName() { return name; } + @Override public String getNamespace() { return namespace; } + @Override public String getValue() { return value; } + @Override public List<CmisExtensionElement> getChildren() { return children; } + @Override public Map<String, String> getAttributes() { return attributes; } Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ContentStreamHashImpl.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ContentStreamHashImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ContentStreamHashImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ContentStreamHashImpl.java Thu Aug 13 12:05:59 2015 @@ -112,14 +112,17 @@ public class ContentStreamHashImpl imple this.propertyValue = "{" + this.algorithm + "}" + this.hash; } + @Override public String getPropertyValue() { return propertyValue; } + @Override public String getAlgorithm() { return algorithm; } + @Override public String getHash() { return hash; } Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ContentStreamImpl.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ContentStreamImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ContentStreamImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ContentStreamImpl.java Thu Aug 13 12:05:59 2015 @@ -75,38 +75,47 @@ public class ContentStreamImpl extends A this.stream = new ByteArrayInputStream(bytes); } + @Override public String getFileName() { return filename; } + @Override public void setFileName(String filename) { this.filename = filename; } + @Override public long getLength() { return length == null ? -1 : length.longValue(); } + @Override public BigInteger getBigLength() { return length; } + @Override public void setLength(BigInteger length) { this.length = length; } + @Override public String getMimeType() { return mimetype; } + @Override public void setMimeType(String mimeType) { this.mimetype = mimeType; } + @Override public InputStream getStream() { return stream; } + @Override public void setStream(InputStream stream) { this.stream = stream; } Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/CreatablePropertyTypesImpl.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/CreatablePropertyTypesImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/CreatablePropertyTypesImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/CreatablePropertyTypesImpl.java Thu Aug 13 12:05:59 2015 @@ -30,6 +30,7 @@ public class CreatablePropertyTypesImpl private Set<PropertyType> propertyTypeSet; + @Override public Set<PropertyType> canCreate() { if (propertyTypeSet == null) { propertyTypeSet = EnumSet.noneOf(PropertyType.class); Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/DocumentTypeDefinitionImpl.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/DocumentTypeDefinitionImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/DocumentTypeDefinitionImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/DocumentTypeDefinitionImpl.java Thu Aug 13 12:05:59 2015 @@ -31,18 +31,22 @@ public class DocumentTypeDefinitionImpl private ContentStreamAllowed contentStreamAllowed = ContentStreamAllowed.NOTALLOWED; private Boolean isVersionable = Boolean.FALSE; + @Override public ContentStreamAllowed getContentStreamAllowed() { return contentStreamAllowed; } + @Override public void setContentStreamAllowed(ContentStreamAllowed contentStreamAllowed) { this.contentStreamAllowed = contentStreamAllowed; } + @Override public Boolean isVersionable() { return isVersionable; } + @Override public void setIsVersionable(Boolean isVersionable) { this.isVersionable = isVersionable; } Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ExtensionFeatureImpl.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ExtensionFeatureImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ExtensionFeatureImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ExtensionFeatureImpl.java Thu Aug 13 12:05:59 2015 @@ -35,6 +35,7 @@ public class ExtensionFeatureImpl extend private String description; private Map<String, String> featureData; + @Override public String getId() { return id; } @@ -43,6 +44,7 @@ public class ExtensionFeatureImpl extend this.id = id; } + @Override public String getUrl() { return url; } @@ -51,6 +53,7 @@ public class ExtensionFeatureImpl extend this.url = url; } + @Override public String getCommonName() { return commonName; } @@ -59,6 +62,7 @@ public class ExtensionFeatureImpl extend this.commonName = commonName; } + @Override public String getVersionLabel() { return versionLabel; } @@ -67,6 +71,7 @@ public class ExtensionFeatureImpl extend this.versionLabel = versionLabel; } + @Override public String getDescription() { return description; } @@ -75,6 +80,7 @@ public class ExtensionFeatureImpl extend this.description = description; } + @Override public Map<String, String> getFeatureData() { if (featureData == null) { featureData = new HashMap<String, String>(); Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/FailedToDeleteDataImpl.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/FailedToDeleteDataImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/FailedToDeleteDataImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/FailedToDeleteDataImpl.java Thu Aug 13 12:05:59 2015 @@ -32,6 +32,7 @@ public class FailedToDeleteDataImpl exte private List<String> ids; + @Override public List<String> getIds() { if (ids == null) { ids = new ArrayList<String>(); Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/LastModifiedContentStreamImpl.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/LastModifiedContentStreamImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/LastModifiedContentStreamImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/LastModifiedContentStreamImpl.java Thu Aug 13 12:05:59 2015 @@ -48,6 +48,7 @@ public class LastModifiedContentStreamIm this.lastModified = lastModified; } + @Override public GregorianCalendar getLastModified() { return lastModified; } Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/NewTypeSettableAttributesImpl.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/NewTypeSettableAttributesImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/NewTypeSettableAttributesImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/NewTypeSettableAttributesImpl.java Thu Aug 13 12:05:59 2015 @@ -40,6 +40,7 @@ public class NewTypeSettableAttributesIm private Boolean controllablePolicy; private Boolean controllableACL; + @Override public Boolean canSetId() { return id; } @@ -48,6 +49,7 @@ public class NewTypeSettableAttributesIm this.id = id; } + @Override public Boolean canSetLocalName() { return localName; } @@ -56,6 +58,7 @@ public class NewTypeSettableAttributesIm this.localName = localName; } + @Override public Boolean canSetLocalNamespace() { return localNamespace; } @@ -64,6 +67,7 @@ public class NewTypeSettableAttributesIm this.localNamespace = localNamespace; } + @Override public Boolean canSetDisplayName() { return displayName; } @@ -72,6 +76,7 @@ public class NewTypeSettableAttributesIm this.displayName = displayName; } + @Override public Boolean canSetQueryName() { return queryName; } @@ -80,6 +85,7 @@ public class NewTypeSettableAttributesIm this.queryName = queryName; } + @Override public Boolean canSetDescription() { return description; } @@ -88,6 +94,7 @@ public class NewTypeSettableAttributesIm this.description = description; } + @Override public Boolean canSetCreatable() { return creatable; } @@ -96,6 +103,7 @@ public class NewTypeSettableAttributesIm this.creatable = creatable; } + @Override public Boolean canSetFileable() { return fileable; } @@ -104,6 +112,7 @@ public class NewTypeSettableAttributesIm this.fileable = fileable; } + @Override public Boolean canSetQueryable() { return queryable; } @@ -112,6 +121,7 @@ public class NewTypeSettableAttributesIm this.queryable = queryable; } + @Override public Boolean canSetFulltextIndexed() { return fulltextIndexed; } @@ -120,6 +130,7 @@ public class NewTypeSettableAttributesIm this.fulltextIndexed = fulltextIndexed; } + @Override public Boolean canSetIncludedInSupertypeQuery() { return includedInSupertypeQuery; } @@ -128,6 +139,7 @@ public class NewTypeSettableAttributesIm this.includedInSupertypeQuery = includedInSupertypeQuery; } + @Override public Boolean canSetControllablePolicy() { return controllablePolicy; } @@ -136,6 +148,7 @@ public class NewTypeSettableAttributesIm this.controllablePolicy = controllablePolicy; } + @Override public Boolean canSetControllableAcl() { return controllableACL; } Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ObjectDataImpl.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ObjectDataImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ObjectDataImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ObjectDataImpl.java Thu Aug 13 12:05:59 2015 @@ -49,6 +49,7 @@ public class ObjectDataImpl extends Abst private Acl acl; private Boolean isExactAcl; + @Override public String getId() { Object value = getFirstValue(PropertyIds.OBJECT_ID); if (value instanceof String) { @@ -58,6 +59,7 @@ public class ObjectDataImpl extends Abst return null; } + @Override public BaseTypeId getBaseTypeId() { Object value = getFirstValue(PropertyIds.BASE_TYPE_ID); if (value instanceof String) { @@ -71,22 +73,27 @@ public class ObjectDataImpl extends Abst return null; } + @Override public Properties getProperties() { return properties; } + @Override public void setProperties(Properties properties) { this.properties = properties; } + @Override public ChangeEventInfo getChangeEventInfo() { return changeEventInfo; } + @Override public void setChangeEventInfo(ChangeEventInfo changeEventInfo) { this.changeEventInfo = changeEventInfo; } + @Override public List<ObjectData> getRelationships() { if (relationships == null) { relationships = new ArrayList<ObjectData>(); @@ -95,10 +102,12 @@ public class ObjectDataImpl extends Abst return relationships; } + @Override public void setRelationships(List<ObjectData> relationships) { this.relationships = relationships; } + @Override public List<RenditionData> getRenditions() { if (renditions == null) { renditions = new ArrayList<RenditionData>(); @@ -107,38 +116,47 @@ public class ObjectDataImpl extends Abst return renditions; } + @Override public void setRenditions(List<RenditionData> renditions) { this.renditions = renditions; } + @Override public PolicyIdList getPolicyIds() { return policyIds; } + @Override public void setPolicyIds(PolicyIdList policyIds) { this.policyIds = policyIds; } + @Override public AllowableActions getAllowableActions() { return allowableActions; } + @Override public void setAllowableActions(AllowableActions allowableActions) { this.allowableActions = allowableActions; } + @Override public Acl getAcl() { return acl; } + @Override public void setAcl(Acl acl) { this.acl = acl; } + @Override public Boolean isExactAcl() { return isExactAcl; } + @Override public void setIsExactAcl(Boolean isExactACL) { this.isExactAcl = isExactACL; } Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ObjectInFolderContainerImpl.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ObjectInFolderContainerImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ObjectInFolderContainerImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ObjectInFolderContainerImpl.java Thu Aug 13 12:05:59 2015 @@ -51,6 +51,7 @@ public class ObjectInFolderContainerImpl this.object = object; } + @Override public ObjectInFolderData getObject() { return object; } @@ -63,6 +64,7 @@ public class ObjectInFolderContainerImpl this.object = object; } + @Override public List<ObjectInFolderContainer> getChildren() { if (children == null) { children = new ArrayList<ObjectInFolderContainer>(); Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ObjectInFolderDataImpl.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ObjectInFolderDataImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ObjectInFolderDataImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ObjectInFolderDataImpl.java Thu Aug 13 12:05:59 2015 @@ -48,6 +48,7 @@ public class ObjectInFolderDataImpl exte this.object = object; } + @Override public ObjectData getObject() { return object; } @@ -60,6 +61,7 @@ public class ObjectInFolderDataImpl exte this.object = object; } + @Override public String getPathSegment() { return pathSegment; } Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ObjectInFolderListImpl.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ObjectInFolderListImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ObjectInFolderListImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ObjectInFolderListImpl.java Thu Aug 13 12:05:59 2015 @@ -36,6 +36,7 @@ public class ObjectInFolderListImpl exte private Boolean hasMoreItems = Boolean.FALSE; private BigInteger numItems; + @Override public List<ObjectInFolderData> getObjects() { if (objects == null) { objects = new ArrayList<ObjectInFolderData>(); @@ -48,6 +49,7 @@ public class ObjectInFolderListImpl exte this.objects = objects; } + @Override public Boolean hasMoreItems() { return hasMoreItems; } @@ -56,6 +58,7 @@ public class ObjectInFolderListImpl exte this.hasMoreItems = hasMoreItems; } + @Override public BigInteger getNumItems() { return numItems; } Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ObjectListImpl.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ObjectListImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ObjectListImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ObjectListImpl.java Thu Aug 13 12:05:59 2015 @@ -36,6 +36,7 @@ public class ObjectListImpl extends Abst private Boolean hasMoreItems = Boolean.FALSE; private BigInteger numItems; + @Override public List<ObjectData> getObjects() { if (objects == null) { objects = new ArrayList<ObjectData>(); @@ -48,6 +49,7 @@ public class ObjectListImpl extends Abst this.objects = objects; } + @Override public Boolean hasMoreItems() { return hasMoreItems; } @@ -56,6 +58,7 @@ public class ObjectListImpl extends Abst this.hasMoreItems = hasMoreItems; } + @Override public BigInteger getNumItems() { return numItems; } Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ObjectParentDataImpl.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ObjectParentDataImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ObjectParentDataImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/ObjectParentDataImpl.java Thu Aug 13 12:05:59 2015 @@ -44,6 +44,7 @@ public class ObjectParentDataImpl extend this.object = object; } + @Override public ObjectData getObject() { return object; } @@ -52,6 +53,7 @@ public class ObjectParentDataImpl extend this.object = object; } + @Override public String getRelativePathSegment() { return relativePathSegment; } Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PermissionDefinitionDataImpl.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PermissionDefinitionDataImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PermissionDefinitionDataImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PermissionDefinitionDataImpl.java Thu Aug 13 12:05:59 2015 @@ -30,6 +30,7 @@ public class PermissionDefinitionDataImp private String permission; private String description; + @Override public String getId() { return permission; } @@ -38,6 +39,7 @@ public class PermissionDefinitionDataImp this.permission = permission; } + @Override public String getDescription() { return description; } Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PermissionMappingDataImpl.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PermissionMappingDataImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PermissionMappingDataImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PermissionMappingDataImpl.java Thu Aug 13 12:05:59 2015 @@ -33,6 +33,7 @@ public class PermissionMappingDataImpl e private String key; private List<String> permissions; + @Override public String getKey() { return key; } @@ -41,6 +42,7 @@ public class PermissionMappingDataImpl e this.key = key; } + @Override public List<String> getPermissions() { if (permissions == null) { permissions = new ArrayList<String>(); Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PolicyIdListImpl.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PolicyIdListImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PolicyIdListImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PolicyIdListImpl.java Thu Aug 13 12:05:59 2015 @@ -31,6 +31,7 @@ public class PolicyIdListImpl extends Ab private List<String> policyIds; + @Override public List<String> getPolicyIds() { return policyIds; } Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PropertiesImpl.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PropertiesImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PropertiesImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PropertiesImpl.java Thu Aug 13 12:05:59 2015 @@ -71,10 +71,12 @@ public class PropertiesImpl extends Abst setExtensions(properties.getExtensions()); } + @Override public Map<String, PropertyData<?>> getProperties() { return Collections.unmodifiableMap(properties); } + @Override public List<PropertyData<?>> getPropertyList() { return Collections.unmodifiableList(propertyList); } @@ -87,6 +89,7 @@ public class PropertiesImpl extends Abst } } + @Override public void addProperty(PropertyData<?> property) { if (property == null) { return; @@ -96,6 +99,7 @@ public class PropertiesImpl extends Abst properties.put(property.getId(), property); } + @Override public void replaceProperty(PropertyData<?> property) { if (property == null || property.getId() == null) { return; @@ -107,6 +111,7 @@ public class PropertiesImpl extends Abst properties.put(property.getId(), property); } + @Override public void removeProperty(String id) { if (id == null) { return; Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PropertyDateTimeDefinitionImpl.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PropertyDateTimeDefinitionImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PropertyDateTimeDefinitionImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PropertyDateTimeDefinitionImpl.java Thu Aug 13 12:05:59 2015 @@ -33,10 +33,12 @@ public class PropertyDateTimeDefinitionI private DateTimeResolution dateTimeResolution; + @Override public DateTimeResolution getDateTimeResolution() { return dateTimeResolution; } + @Override public void setDateTimeResolution(DateTimeResolution dateTimeResolution) { this.dateTimeResolution = dateTimeResolution; } Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PropertyDecimalDefinitionImpl.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PropertyDecimalDefinitionImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PropertyDecimalDefinitionImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PropertyDecimalDefinitionImpl.java Thu Aug 13 12:05:59 2015 @@ -35,26 +35,32 @@ public class PropertyDecimalDefinitionIm private BigDecimal maxValue; private DecimalPrecision precision; + @Override public BigDecimal getMinValue() { return minValue; } + @Override public void setMinValue(BigDecimal minValue) { this.minValue = minValue; } + @Override public BigDecimal getMaxValue() { return maxValue; } + @Override public void setMaxValue(BigDecimal maxValue) { this.maxValue = maxValue; } + @Override public DecimalPrecision getPrecision() { return precision; } + @Override public void setPrecision(DecimalPrecision precision) { this.precision = precision; } Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PropertyIntegerDefinitionImpl.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PropertyIntegerDefinitionImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PropertyIntegerDefinitionImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PropertyIntegerDefinitionImpl.java Thu Aug 13 12:05:59 2015 @@ -33,18 +33,22 @@ public class PropertyIntegerDefinitionIm private BigInteger minValue; private BigInteger maxValue; + @Override public BigInteger getMinValue() { return minValue; } + @Override public void setMinValue(BigInteger minValue) { this.minValue = minValue; } + @Override public BigInteger getMaxValue() { return maxValue; } + @Override public void setMaxValue(BigInteger maxValue) { this.maxValue = maxValue; } Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PropertyStringDefinitionImpl.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PropertyStringDefinitionImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PropertyStringDefinitionImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/PropertyStringDefinitionImpl.java Thu Aug 13 12:05:59 2015 @@ -32,10 +32,12 @@ public class PropertyStringDefinitionImp private BigInteger maxLength; + @Override public BigInteger getMaxLength() { return maxLength; } + @Override public void setMaxLength(BigInteger maxLength) { this.maxLength = maxLength; } Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/RelationshipTypeDefinitionImpl.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/RelationshipTypeDefinitionImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/RelationshipTypeDefinitionImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/RelationshipTypeDefinitionImpl.java Thu Aug 13 12:05:59 2015 @@ -33,6 +33,7 @@ public class RelationshipTypeDefinitionI private List<String> allowedSourceTypes; private List<String> allowedTargetTypes; + @Override public List<String> getAllowedSourceTypeIds() { if (allowedSourceTypes == null) { allowedSourceTypes = new ArrayList<String>(); @@ -41,10 +42,12 @@ public class RelationshipTypeDefinitionI return allowedSourceTypes; } + @Override public void setAllowedSourceTypes(List<String> allowedSourceTypes) { this.allowedSourceTypes = allowedSourceTypes; } + @Override public List<String> getAllowedTargetTypeIds() { if (allowedTargetTypes == null) { allowedTargetTypes = new ArrayList<String>(); @@ -53,6 +56,7 @@ public class RelationshipTypeDefinitionI return allowedTargetTypes; } + @Override public void setAllowedTargetTypes(List<String> allowedTargetTypes) { this.allowedTargetTypes = allowedTargetTypes; } Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/RenditionDataImpl.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/RenditionDataImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/RenditionDataImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/RenditionDataImpl.java Thu Aug 13 12:05:59 2015 @@ -53,6 +53,7 @@ public class RenditionDataImpl extends A this.renditionDocumentId = renditionDocumentId; } + @Override public String getStreamId() { return streamId; } @@ -61,6 +62,7 @@ public class RenditionDataImpl extends A this.streamId = streamId; } + @Override public String getMimeType() { return mimeType; } @@ -69,6 +71,7 @@ public class RenditionDataImpl extends A this.mimeType = mimeType; } + @Override public BigInteger getBigLength() { return length; } @@ -77,6 +80,7 @@ public class RenditionDataImpl extends A this.length = length; } + @Override public String getKind() { return kind; } @@ -85,6 +89,7 @@ public class RenditionDataImpl extends A this.kind = kind; } + @Override public String getTitle() { return title; } @@ -93,6 +98,7 @@ public class RenditionDataImpl extends A this.title = title; } + @Override public BigInteger getBigHeight() { return height; } @@ -101,6 +107,7 @@ public class RenditionDataImpl extends A this.height = height; } + @Override public BigInteger getBigWidth() { return width; } @@ -109,6 +116,7 @@ public class RenditionDataImpl extends A this.width = width; } + @Override public String getRenditionDocumentId() { return renditionDocumentId; } Modified: 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/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/RepositoryCapabilitiesImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/RepositoryCapabilitiesImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/RepositoryCapabilitiesImpl.java Thu Aug 13 12:05:59 2015 @@ -81,6 +81,7 @@ public class RepositoryCapabilitiesImpl setExtensions(data.getExtensions()); } + @Override public Boolean isAllVersionsSearchableSupported() { return allVersionsSearchable; } @@ -89,6 +90,7 @@ public class RepositoryCapabilitiesImpl this.allVersionsSearchable = allVersionsSearchable; } + @Override public CapabilityAcl getAclCapability() { return capabilityAcl; } @@ -97,6 +99,7 @@ public class RepositoryCapabilitiesImpl this.capabilityAcl = capabilityAcl; } + @Override public CapabilityChanges getChangesCapability() { return capabilityChanges; } @@ -105,6 +108,7 @@ public class RepositoryCapabilitiesImpl this.capabilityChanges = capabilityChanges; } + @Override public CapabilityContentStreamUpdates getContentStreamUpdatesCapability() { return capabilityContentStreamUpdates; } @@ -113,6 +117,7 @@ public class RepositoryCapabilitiesImpl this.capabilityContentStreamUpdates = capabilityContentStreamUpdates; } + @Override public CapabilityJoin getJoinCapability() { return capabilityJoin; } @@ -121,6 +126,7 @@ public class RepositoryCapabilitiesImpl this.capabilityJoin = capabilityJoin; } + @Override public CapabilityQuery getQueryCapability() { return capabilityQuery; } @@ -129,6 +135,7 @@ public class RepositoryCapabilitiesImpl this.capabilityQuery = capabilityQuery; } + @Override public CapabilityRenditions getRenditionsCapability() { return capabilityRendition; } @@ -137,6 +144,7 @@ public class RepositoryCapabilitiesImpl this.capabilityRendition = capabilityRendition; } + @Override public Boolean isPwcSearchableSupported() { return isPwcSearchable; } @@ -145,6 +153,7 @@ public class RepositoryCapabilitiesImpl this.isPwcSearchable = isPwcSearchable; } + @Override public Boolean isPwcUpdatableSupported() { return isPwcUpdatable; } @@ -153,6 +162,7 @@ public class RepositoryCapabilitiesImpl this.isPwcUpdatable = isPwcUpdatable; } + @Override public Boolean isGetDescendantsSupported() { return supportsGetDescendants; } @@ -161,6 +171,7 @@ public class RepositoryCapabilitiesImpl this.supportsGetDescendants = supportsGetDescendants; } + @Override public Boolean isGetFolderTreeSupported() { return supportsGetFolderTree; } @@ -169,6 +180,7 @@ public class RepositoryCapabilitiesImpl this.supportsGetFolderTree = supportsGetFolderTree; } + @Override public CapabilityOrderBy getOrderByCapability() { return capabilityOrderBy; } @@ -185,6 +197,7 @@ public class RepositoryCapabilitiesImpl setCapabilityOrderBy(capabilityOrderBy); } + @Override public Boolean isMultifilingSupported() { return supportsMultifiling; } @@ -193,6 +206,7 @@ public class RepositoryCapabilitiesImpl this.supportsMultifiling = supportsMultifiling; } + @Override public Boolean isUnfilingSupported() { return supportsUnfiling; } @@ -201,6 +215,7 @@ public class RepositoryCapabilitiesImpl this.supportsUnfiling = supportsUnfiling; } + @Override public Boolean isVersionSpecificFilingSupported() { return supportsVersionSpecificFiling; } @@ -209,6 +224,7 @@ public class RepositoryCapabilitiesImpl this.supportsVersionSpecificFiling = supportsVersionSpecificFiling; } + @Override public CreatablePropertyTypes getCreatablePropertyTypes() { return creatablePropertyTypes; } @@ -217,6 +233,7 @@ public class RepositoryCapabilitiesImpl this.creatablePropertyTypes = creatablePropertyTypes; } + @Override public NewTypeSettableAttributes getNewTypeSettableAttributes() { return newTypeSettableAttributes; } Modified: 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/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/RepositoryInfoImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/RepositoryInfoImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/RepositoryInfoImpl.java Thu Aug 13 12:05:59 2015 @@ -80,6 +80,7 @@ public class RepositoryInfoImpl extends setExtensions(data.getExtensions()); } + @Override public String getId() { return id; } @@ -88,6 +89,7 @@ public class RepositoryInfoImpl extends this.id = id; } + @Override public String getName() { return name; } @@ -96,6 +98,7 @@ public class RepositoryInfoImpl extends this.name = name; } + @Override public String getDescription() { return description; } @@ -104,6 +107,7 @@ public class RepositoryInfoImpl extends this.description = description; } + @Override public String getCmisVersionSupported() { if (versionSupported == null) { return "1.0"; @@ -116,6 +120,7 @@ public class RepositoryInfoImpl extends this.versionSupported = versionSupported; } + @Override public CmisVersion getCmisVersion() { if (versionSupported == null) { return CmisVersion.CMIS_1_0; @@ -136,6 +141,7 @@ public class RepositoryInfoImpl extends } } + @Override public RepositoryCapabilities getCapabilities() { return capabilities; } @@ -144,6 +150,7 @@ public class RepositoryInfoImpl extends this.capabilities = capabilities; } + @Override public String getRootFolderId() { return rootFolderId; } @@ -152,6 +159,7 @@ public class RepositoryInfoImpl extends this.rootFolderId = rootFolderId; } + @Override public AclCapabilities getAclCapabilities() { return aclCapabilities; } @@ -160,6 +168,7 @@ public class RepositoryInfoImpl extends this.aclCapabilities = aclCapabilities; } + @Override public String getPrincipalIdAnonymous() { return principalAnonymous; } @@ -168,6 +177,7 @@ public class RepositoryInfoImpl extends this.principalAnonymous = principalAnonymous; } + @Override public String getPrincipalIdAnyone() { return principalAnyone; } @@ -176,6 +186,7 @@ public class RepositoryInfoImpl extends this.principalAnyone = principalAnyone; } + @Override public String getThinClientUri() { return thinClientUri; } @@ -184,6 +195,7 @@ public class RepositoryInfoImpl extends this.thinClientUri = thinClientUri; } + @Override public Boolean getChangesIncomplete() { return changesIncomplete; } @@ -192,6 +204,7 @@ public class RepositoryInfoImpl extends this.changesIncomplete = changesIncomplete; } + @Override public List<BaseTypeId> getChangesOnType() { if (changesOnType == null) { changesOnType = new ArrayList<BaseTypeId>(); @@ -204,6 +217,7 @@ public class RepositoryInfoImpl extends this.changesOnType = changesOnType; } + @Override public String getLatestChangeLogToken() { return latestChangeLogToken; } @@ -212,6 +226,7 @@ public class RepositoryInfoImpl extends this.latestChangeLogToken = latestChangeLogToken; } + @Override public String getVendorName() { return vendorName; } @@ -220,6 +235,7 @@ public class RepositoryInfoImpl extends this.vendorName = vendorName; } + @Override public String getProductName() { return productName; } @@ -228,6 +244,7 @@ public class RepositoryInfoImpl extends this.productName = productName; } + @Override public String getProductVersion() { return productVersion; } @@ -236,6 +253,7 @@ public class RepositoryInfoImpl extends this.productVersion = productVersion; } + @Override public List<ExtensionFeature> getExtensionFeatures() { return extensionFeatures; } Modified: 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/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/TypeDefinitionContainerImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/TypeDefinitionContainerImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/TypeDefinitionContainerImpl.java Thu Aug 13 12:05:59 2015 @@ -42,6 +42,7 @@ public class TypeDefinitionContainerImpl children = new ArrayList<TypeDefinitionContainer>(); } + @Override public TypeDefinition getTypeDefinition() { return type; } @@ -50,6 +51,7 @@ public class TypeDefinitionContainerImpl this.type = type; } + @Override public List<TypeDefinitionContainer> getChildren() { if (children == null) { children = new ArrayList<TypeDefinitionContainer>(); Modified: 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/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/TypeDefinitionListImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/TypeDefinitionListImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/TypeDefinitionListImpl.java Thu Aug 13 12:05:59 2015 @@ -53,6 +53,7 @@ public class TypeDefinitionListImpl exte this.numItems = BigInteger.valueOf(list.size()); } + @Override public List<TypeDefinition> getList() { return list; } @@ -61,6 +62,7 @@ public class TypeDefinitionListImpl exte this.list = list; } + @Override public Boolean hasMoreItems() { return hasMoreItems; } @@ -69,6 +71,7 @@ public class TypeDefinitionListImpl exte this.hasMoreItems = hasMoreItems; } + @Override public BigInteger getNumItems() { return numItems; } Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/TypeMutabilityImpl.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/TypeMutabilityImpl.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/TypeMutabilityImpl.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/TypeMutabilityImpl.java Thu Aug 13 12:05:59 2015 @@ -28,6 +28,7 @@ public class TypeMutabilityImpl extends private Boolean canUpdate; private Boolean canDelete; + @Override public Boolean canCreate() { return canCreate; } @@ -36,6 +37,7 @@ public class TypeMutabilityImpl extends this.canCreate = canCreate; } + @Override public Boolean canUpdate() { return canUpdate; } @@ -44,6 +46,7 @@ public class TypeMutabilityImpl extends this.canUpdate = canUpdate; } + @Override public Boolean canDelete() { return canDelete; } Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/json/JSONArray.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/json/JSONArray.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/json/JSONArray.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/json/JSONArray.java Thu Aug 13 12:05:59 2015 @@ -70,6 +70,7 @@ public class JSONArray extends ArrayList out.write(']'); } + @Override public void writeJSONString(Writer out) throws IOException { writeJSONString(this, out); } @@ -110,10 +111,12 @@ public class JSONArray extends ArrayList return sb.toString(); } + @Override public String toJSONString() { return toJSONString(this); } + @Override public String toString() { return toJSONString(); } Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/json/JSONObject.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/json/JSONObject.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/json/JSONObject.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/json/JSONObject.java Thu Aug 13 12:05:59 2015 @@ -84,6 +84,7 @@ public class JSONObject extends LinkedHa out.write('}'); } + @Override public void writeJSONString(Writer out) throws IOException { writeJSONString(this, out); } @@ -121,6 +122,7 @@ public class JSONObject extends LinkedHa return sb.toString(); } + @Override public String toJSONString() { return toJSONString(this); } @@ -140,6 +142,7 @@ public class JSONObject extends LinkedHa return sb.toString(); } + @Override public String toString() { return toJSONString(); } Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/json/parser/JSONParseException.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/json/parser/JSONParseException.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/json/parser/JSONParseException.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/json/parser/JSONParseException.java Thu Aug 13 12:05:59 2015 @@ -89,6 +89,7 @@ public class JSONParseException extends this.unexpectedObject = unexpectedObject; } + @Override public String toString() { StringBuilder sb = new StringBuilder(128); Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/json/parser/Yylex.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/json/parser/Yylex.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/json/parser/Yylex.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/json/parser/Yylex.java Thu Aug 13 12:05:59 2015 @@ -42,7 +42,7 @@ class Yylex { * ZZ_LEXSTATE[l+1] is the state in the DFA for the lexical state l at the * beginning of a line l is of the form l = 2*k, k a non negative integer */ - private static final int ZZ_LEXSTATE[] = { 0, 0, 1, 1 }; + private static final int[] ZZ_LEXSTATE = { 0, 0, 1, 1 }; /** * Translates characters to character classes @@ -116,7 +116,7 @@ class Yylex { /** * The transition table of the DFA */ - private static final int ZZ_TRANS[] = { 2, 2, 3, 4, 2, 2, 2, 5, 2, 6, 2, 2, 7, 8, 2, 9, 2, 2, 2, 2, 2, 10, 11, 12, + private static final int[] ZZ_TRANS = { 2, 2, 3, 4, 2, 2, 2, 5, 2, 6, 2, 2, 7, 8, 2, 9, 2, 2, 2, 2, 2, 10, 11, 12, 13, 14, 15, 16, 16, 16, 16, 16, 16, 16, 16, 17, 18, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, @@ -149,7 +149,7 @@ class Yylex { private static final int ZZ_PUSHBACK_2BIG = 2; /* error messages for the codes above */ - private static final String ZZ_ERROR_MSG[] = { "Unkown internal scanner error", "Error: could not match input", + private static final String[] ZZ_ERROR_MSG = { "Unkown internal scanner error", "Error: could not match input", "Error: pushback value was too large" }; /** @@ -193,7 +193,7 @@ class Yylex { * this buffer contains the current text to be matched and is the source of * the yytext() string */ - private char zzBuffer[] = new char[ZZ_BUFFERSIZE]; + private char[] zzBuffer = new char[ZZ_BUFFERSIZE]; /** the textposition at the last accepting state */ private int zzMarkedPos; @@ -279,7 +279,7 @@ class Yylex { /* is the buffer big enough? */ if (zzCurrentPos >= zzBuffer.length) { /* if not: blow it up */ - char newBuffer[] = new char[zzCurrentPos * 2]; + char[] newBuffer = new char[zzCurrentPos * 2]; System.arraycopy(zzBuffer, 0, newBuffer, 0, zzBuffer.length); zzBuffer = newBuffer; } Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/json/parser/Yytoken.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/json/parser/Yytoken.java?rev=1695691&r1=1695690&r2=1695691&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/json/parser/Yytoken.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/json/parser/Yytoken.java Thu Aug 13 12:05:59 2015 @@ -43,6 +43,7 @@ public class Yytoken { this.value = value; } + @Override public String toString() { StringBuilder sb = new StringBuilder(64); switch (type) {
