All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.kscs.util.jaxb.IndirectPrimitiveCollectionProperty Maven / Gradle / Ivy

package com.kscs.util.jaxb;

import java.util.List;

import jakarta.xml.bind.JAXBElement;

/**
 * Represents the instance of a {@link IndirectPrimitiveCollectionPropertyInfo}, i.e. represents the
 * property meta information along with its value, and enables to get an d set the value
 */
public class IndirectPrimitiveCollectionProperty extends Property {
	public IndirectPrimitiveCollectionProperty(final PropertyInfo info, final I owner) {
			super(info, owner);
		}

		@Override
		public IndirectPrimitiveCollectionPropertyInfo getInfo() {
			return (IndirectPrimitiveCollectionPropertyInfo)super.getInfo();
		}

		@Override
		public List> get() {
			return getInfo().get(getOwner());
		}

		public void set(final List> values) {
			getInfo().set(getOwner(), values);
		}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy