/*
 * Copyright 2016 Richard Cartwright
 *
 * Licensed 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 tv.amwa.maj.extensions.avid;

import java.util.List;

import tv.amwa.maj.exception.PropertyNotPresentException;
import tv.amwa.maj.integer.UInt32;
import tv.amwa.maj.model.InterchangeObject;

public interface TaggedValue
	extends tv.amwa.maj.model.TaggedValue {

	public List<? extends tv.amwa.maj.model.TaggedValue> getTaggedValueAttributeList()
		throws PropertyNotPresentException;

	public void appendTaggedValueAttributeItem(
			tv.amwa.maj.model.TaggedValue taggedValueAttributeItem)
		throws NullPointerException;

	public void prependTaggedValueAttributeItem(
			tv.amwa.maj.model.TaggedValue taggedValueAttributeItem)
		throws NullPointerException;

	public void insertTaggedValueAttributeItem(
			int index,
			tv.amwa.maj.model.TaggedValue taggedValueAttributeItem)
		throws NullPointerException,
			IndexOutOfBoundsException;

	public int countTaggedValueAttributeList();

	public void clearTaggedValueAttributeList();

	public tv.amwa.maj.model.TaggedValue getTaggedValueAttributeItemAt(
			int index)
		throws IndexOutOfBoundsException;

	public void removeTaggedValueAttributeItemAt(
			int index)
		throws IndexOutOfBoundsException;

	public @UInt32 int getPortableObjectClassID()
		throws PropertyNotPresentException;

	public void setPortableObjectClassID(
			@UInt32 Integer portableObjectClassID)
		throws IllegalArgumentException;

	public InterchangeObject getPortableObject()
		throws PropertyNotPresentException;

	public void setPortableObject(
			InterchangeObject portableObject);
}
