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:
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
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) final voidsetInverses(NavigationPropertyAbstract inverse) Methods inherited from class de.fraunhofer.iosb.ilt.frostclient.model.property.PropertyAbstract
getJsonName, getName, getType, isReadOnly, setName, 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.Property
compareTo, getJsonName, getName, getType, 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()
-