Package org.teamapps.protocol.schema
Class ReferencePropertyDefinition
java.lang.Object
org.teamapps.protocol.schema.AbstractPropertyDefinition
org.teamapps.protocol.schema.ReferencePropertyDefinition
- All Implemented Interfaces:
PropertyDefinition
public class ReferencePropertyDefinition extends AbstractPropertyDefinition
-
Constructor Summary
Constructors Constructor Description ReferencePropertyDefinition(ObjectPropertyDefinition parent, java.lang.String name, int key, java.lang.String specificType, java.lang.String title, ObjectPropertyDefinition referencedObject, boolean multiReference) -
Method Summary
Modifier and Type Method Description ReferencePropertyDefinitiongetAsReferencePropertyDefinition()ObjectPropertyDefinitiongetReferencedObject()booleanisMultiReference()Methods inherited from class org.teamapps.protocol.schema.AbstractPropertyDefinition
getAsEnumPropertyDefinition, getContentType, getKey, getName, getParent, getQualifiedName, getSpecificType, getTitle, getType, isEnumProperty, isReferenceProperty, toBytesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ReferencePropertyDefinition
public ReferencePropertyDefinition(ObjectPropertyDefinition parent, java.lang.String name, int key, java.lang.String specificType, java.lang.String title, ObjectPropertyDefinition referencedObject, boolean multiReference)
-
-
Method Details
-
getReferencedObject
-
isMultiReference
public boolean isMultiReference() -
getAsReferencePropertyDefinition
- Specified by:
getAsReferencePropertyDefinitionin interfacePropertyDefinition- Overrides:
getAsReferencePropertyDefinitionin classAbstractPropertyDefinition
-