Class NavigationPropertyAbstract<P>
java.lang.Object
de.fraunhofer.iosb.ilt.frostclient.model.property.PropertyAbstract<P>
de.fraunhofer.iosb.ilt.frostclient.model.property.NavigationPropertyAbstract<P>
- Type Parameters:
P- The entityType of the value of the property.
- All Implemented Interfaces:
Annotatable,Property<P>,NavigationProperty<P>,Comparable<Property<?>>
- Direct Known Subclasses:
NavigationPropertyEntity,NavigationPropertyEntitySet
public abstract class NavigationPropertyAbstract<P>
extends PropertyAbstract<P>
implements NavigationProperty<P>
-
Field Summary
Fields inherited from class de.fraunhofer.iosb.ilt.frostclient.model.property.PropertyAbstract
annotations, keyPart, nullable, readOnly -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNavigationPropertyAbstract(String propertyName, boolean isSet) -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe entity type this property links to.Get the inverse of this NavigationProperty.inthashCode()booleanflag indicating this navigation property is a Set.voidsetEntityType(EntityType entityType) final voidsetInverse(NavigationPropertyAbstract inverse) Set the inverse to the given NP.final voidsetInverses(NavigationPropertyAbstract inverse) Set the inverse of this NP to to given NP, and set the inverse of the given NP to this NP.Methods inherited from class de.fraunhofer.iosb.ilt.frostclient.model.property.PropertyAbstract
addAnnotation, getAnnotations, getJsonName, getName, getType, isKeyPart, isNullable, isReadOnly, setAnnotations, setKeyPart, setName, setNullable, setType, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface de.fraunhofer.iosb.ilt.frostclient.model.csdl.annotation.Annotatable
getAnnotationsMethods inherited from interface de.fraunhofer.iosb.ilt.frostclient.model.Property
compareTo, getJsonName, getName, getType, isKeyPart, isNullable, isReadOnly
-
Constructor Details
-
NavigationPropertyAbstract
-
-
Method Details
-
setEntityType
-
getInverse
Description copied from interface:NavigationPropertyGet the inverse of this NavigationProperty.- Specified by:
getInversein interfaceNavigationProperty<P>- Returns:
- The inverse of this NavigationProperty, or null if no inverse exists.
-
getEntityType
Description copied from interface:NavigationPropertyThe entity type this property links to.- Specified by:
getEntityTypein interfaceNavigationProperty<P>- Returns:
- The entity type this property links to.
-
isEntitySet
public boolean isEntitySet()Description copied from interface:NavigationPropertyflag indicating this navigation property is a Set.- Specified by:
isEntitySetin interfaceNavigationProperty<P>- Returns:
- true if this navigation property is a Set.
-
equals
-
hashCode
public int hashCode()
-