-/*******************************************************************************\r
- * Copyright (c) 2010 Association for Decentralized Information Management in\r
- * Industry THTH ry.\r
- * All rights reserved. This program and the accompanying materials\r
- * are made available under the terms of the Eclipse Public License v1.0\r
- * which accompanies this distribution, and is available at\r
- * http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Contributors:\r
- * VTT Technical Research Centre of Finland - initial API and implementation\r
- *******************************************************************************/\r
+/*******************************************************************************
+ * Copyright (c) 2010 Association for Decentralized Information Management in
+ * Industry THTH ry.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * VTT Technical Research Centre of Finland - initial API and implementation
+ *******************************************************************************/
package org.simantics.databoard.accessor;
-import org.simantics.databoard.accessor.error.AccessorConstructionException;\r
-import org.simantics.databoard.accessor.error.AccessorException;\r
-import org.simantics.databoard.binding.Binding;\r
-import org.simantics.databoard.type.Datatype;\r
-import org.simantics.databoard.type.VariantType;\r
+import org.simantics.databoard.accessor.error.AccessorConstructionException;
+import org.simantics.databoard.accessor.error.AccessorException;
+import org.simantics.databoard.binding.Binding;
+import org.simantics.databoard.type.Datatype;
+import org.simantics.databoard.type.VariantType;
public interface VariantAccessor extends Accessor {
* @throws AccessorException
*/
void setContentValue(Binding valueBinding, Object value) throws AccessorException;
- \r
- /**\r
- * Get the content of this variant\r
- * \r
- * @param contentBinding\r
- * @return content\r
- * @throws AccessorException\r
+
+ /**
+ * Get the content of this variant
+ *
+ * @param contentBinding
+ * @return content
+ * @throws AccessorException
*/
- Object getContentValue(Binding contentBinding) throws AccessorException;\r
- \r
- /**\r
- * Get the type of the content\r
- * \r
- * @return type\r
- * @throws AccessorException\r
+ Object getContentValue(Binding contentBinding) throws AccessorException;
+
+ /**
+ * Get the type of the content
+ *
+ * @return type
+ * @throws AccessorException
*/
Datatype getContentType() throws AccessorException;
- \r
- /**\r
- * Get the type of this variant.\r
- * \r
- * @return VariantType always\r
+
+ /**
+ * Get the type of this variant.
+ *
+ * @return VariantType always
*/
VariantType type();