org.xowl.infra.lang.runtime.DataProperty Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xowl-lang Show documentation
Show all versions of xowl-lang Show documentation
Java implementation of the xOWL language concepts
/*******************************************************************************
* Copyright (c) 2016 Association Cénotélie (cenotelie.fr)
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General
* Public License along with this program.
* If not, see .
******************************************************************************/
package org.xowl.infra.lang.runtime;
import java.util.*;
/**
* Represents the base interface for DataProperty
* Original OWL class is http://xowl.org/infra/lang/runtime#DataProperty
*
* @author xOWL code generator
*/
public interface DataProperty extends Property {
/**
* Adds an element to the property PropertyDisjointWith
* Original OWL property is http://xowl.org/infra/lang/runtime#propertyDisjointWith
*
* @param elem The element to add
* @return Whether the operation resulted in a new element (false if the element was already there)
*/
boolean addPropertyDisjointWith(DataProperty elem);
/**
* Removes an element from the property PropertyDisjointWith
* Original OWL property is http://xowl.org/infra/lang/runtime#propertyDisjointWith
*
* @param elem The element to remove
* @return Whether the operation resulted in the element being removed
*/
boolean removePropertyDisjointWith(DataProperty elem);
/**
* Gets all the elements for the property PropertyDisjointWith
* Original OWL property is http://xowl.org/infra/lang/runtime#propertyDisjointWith
*
* @param type An element of the type expected in result (may be null)
* This parameter is used to disambiguate among overloads.
* @return The elements for the property PropertyDisjointWith
*/
Collection getAllPropertyDisjointWithAs(DataProperty type);
/**
* Adds an element to the property PropertyEquivalentTo
* Original OWL property is http://xowl.org/infra/lang/runtime#propertyEquivalentTo
*
* @param elem The element to add
* @return Whether the operation resulted in a new element (false if the element was already there)
*/
boolean addPropertyEquivalentTo(DataProperty elem);
/**
* Removes an element from the property PropertyEquivalentTo
* Original OWL property is http://xowl.org/infra/lang/runtime#propertyEquivalentTo
*
* @param elem The element to remove
* @return Whether the operation resulted in the element being removed
*/
boolean removePropertyEquivalentTo(DataProperty elem);
/**
* Gets all the elements for the property PropertyEquivalentTo
* Original OWL property is http://xowl.org/infra/lang/runtime#propertyEquivalentTo
*
* @param type An element of the type expected in result (may be null)
* This parameter is used to disambiguate among overloads.
* @return The elements for the property PropertyEquivalentTo
*/
Collection getAllPropertyEquivalentToAs(DataProperty type);
/**
* Sets the value for the property Range
* Original OWL property is http://xowl.org/infra/lang/runtime#range
*
* @param elem The value to set
*/
void setRange(Datatype elem);
/**
* Gets the value for the property Range
* Original OWL property is http://xowl.org/infra/lang/runtime#range
*
* @param type An element of the type expected in result (may be null)
* This parameter is used to disambiguate among overloads.
* @return The value for the property Range
*/
Datatype getRangeAs(Datatype type);
/**
* Adds an element to the property SubPropertyOf
* Original OWL property is http://xowl.org/infra/lang/runtime#subPropertyOf
*
* @param elem The element to add
* @return Whether the operation resulted in a new element (false if the element was already there)
*/
boolean addSubPropertyOf(DataProperty elem);
/**
* Removes an element from the property SubPropertyOf
* Original OWL property is http://xowl.org/infra/lang/runtime#subPropertyOf
*
* @param elem The element to remove
* @return Whether the operation resulted in the element being removed
*/
boolean removeSubPropertyOf(DataProperty elem);
/**
* Gets all the elements for the property SubPropertyOf
* Original OWL property is http://xowl.org/infra/lang/runtime#subPropertyOf
*
* @param type An element of the type expected in result (may be null)
* This parameter is used to disambiguate among overloads.
* @return The elements for the property SubPropertyOf
*/
Collection getAllSubPropertyOfAs(DataProperty type);
/**
* Adds an element to the property SuperPropertyOf
* Original OWL property is http://xowl.org/infra/lang/runtime#superPropertyOf
*
* @param elem The element to add
* @return Whether the operation resulted in a new element (false if the element was already there)
*/
boolean addSuperPropertyOf(DataProperty elem);
/**
* Removes an element from the property SuperPropertyOf
* Original OWL property is http://xowl.org/infra/lang/runtime#superPropertyOf
*
* @param elem The element to remove
* @return Whether the operation resulted in the element being removed
*/
boolean removeSuperPropertyOf(DataProperty elem);
/**
* Gets all the elements for the property SuperPropertyOf
* Original OWL property is http://xowl.org/infra/lang/runtime#superPropertyOf
*
* @param type An element of the type expected in result (may be null)
* This parameter is used to disambiguate among overloads.
* @return The elements for the property SuperPropertyOf
*/
Collection getAllSuperPropertyOfAs(DataProperty type);
}