public class PropertyReferenceDefinition extends PropertyDefinition
PropertyReference
.Constructor and Description |
---|
PropertyReferenceDefinition()
Create a definition of a
PropertyReference . |
PropertyReferenceDefinition(URI predicate,
String name,
String label,
String description,
boolean required,
boolean multiple,
boolean ordered)
Create a definition of an
PropertyReference . |
PropertyReferenceDefinition(URI predicate,
String name,
String label,
String description,
boolean required,
boolean multiple,
boolean ordered,
LinkedHashSet<URI> options)
Create a definition of an
PropertyReference . |
Modifier and Type | Method and Description |
---|---|
LinkedHashSet<URI> |
getOptions() |
void |
setOptions(LinkedHashSet<URI> options) |
protected String |
toString(String indent) |
equals, getDescription, getLabel, getName, getPredicate, hashCode, isMultiple, isOrdered, isRequired, setDescription, setLabel, setMultiple, setName, setOrdered, setPredicate, setRequired, toString
public PropertyReferenceDefinition()
PropertyReference
.public PropertyReferenceDefinition(URI predicate, String name, String label, String description, boolean required, boolean multiple, boolean ordered)
PropertyReference
.predicate
- the URI identifying the PropertyReference
that
this class definesname
- the name of the PropertyReference
label
- a human readable label for the PropertyReference
description
- a description of the PropertyReference
required
- whether the PropertyReference
is mandatorymultiple
- whether there can be multiple instances of the
PropertyReference
ordered
- whether the order of multiple instances of the
Property
is significantpublic PropertyReferenceDefinition(URI predicate, String name, String label, String description, boolean required, boolean multiple, boolean ordered, LinkedHashSet<URI> options)
PropertyReference
.predicate
- the URI identifying the PropertyReference
that
this class definesname
- the name of the PropertyReference
label
- a human readable label for the PropertyReference
description
- a description of the PropertyReference
required
- whether the PropertyReference
is mandatorymultiple
- whether there can be multiple instances of the
PropertyReference
ordered
- whether the order of multiple instances of the
Property
is significantoptions
- Set of optionspublic LinkedHashSet<URI> getOptions()
public void setOptions(LinkedHashSet<URI> options)
protected String toString(String indent)
toString
in class PropertyDefinition
Copyright © 2013 myGrid. All rights reserved.