public class UnspecifiedProfileElement extends ProfileElement implements Serializable, Cloneable
<elemEnumFlag> is false), nor does it have minimum or maximum
values. As such, it always matches any query in which it's involved in an expression.comments, desc, id, maxOccurrence, name, obligation, profile, synonyms, type, unit| Constructor and Description |
|---|
UnspecifiedProfileElement(Profile profile)
Creates a profile element.
|
UnspecifiedProfileElement(Profile profile,
String name,
String id,
String desc,
String type,
String unit,
List synonyms,
boolean obligation,
int maxOccurrence,
String comment)
Create a profile element from constituent attributes.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addElementSpecificProperties(com.hp.hpl.jena.rdf.model.Model model,
com.hp.hpl.jena.rdf.model.Resource element,
ProfileAttributes profAttr,
URI uri)
Add the statements specific to this kind of profile element to an RDF model.
|
protected void |
addValues(Node node)
Add the values of this element to the given node.
|
String |
getMaxValue()
Get my maximum value.
|
String |
getMinValue()
Get my minimum value.
|
List |
getValues()
Get legal values.
|
protected boolean |
isEnumerated()
Tell if this element is of the enumerated kind.
|
clone, compareTo, createProfElementDocument, createProfileElement, elements, equals, getComments, getDescription, getID, getMaxOccurrence, getName, getProfile, getSynonyms, getType, getUnit, hashCode, isObligatory, profiles, setComments, setDescription, setID, setMaxOccurrence, setName, setObligation, setProfile, setType, setUnit, toString, toXML, toXMLWithoutValuespublic UnspecifiedProfileElement(Profile profile)
profile - a Profile value.public UnspecifiedProfileElement(Profile profile, String name, String id, String desc, String type, String unit, List synonyms, boolean obligation, int maxOccurrence, String comment)
profile - Profile to which this element belongs.name - Required name of the element.id - ID of the element.desc - Long description of the element.type - Data type of the element.unit - Units.synonyms - Collection of element IDs (String) that are synonyms for this element.obligation - True if this is a required elementmaxOccurrence - Maximum number of occurrences of this element.comment - Any comments about this element.public List getValues()
ProfileElementgetValues in class ProfileElementStrings).public String getMinValue()
ProfileElementgetMinValue in class ProfileElementpublic String getMaxValue()
ProfileElementgetMaxValue in class ProfileElementprotected boolean isEnumerated()
ProfileElementisEnumerated in class ProfileElementboolean value.protected void addValues(Node node)
ProfileElementaddValues in class ProfileElementnode - The node to add to.protected void addElementSpecificProperties(com.hp.hpl.jena.rdf.model.Model model,
com.hp.hpl.jena.rdf.model.Resource element,
ProfileAttributes profAttr,
URI uri)
ProfileElementaddElementSpecificProperties in class ProfileElementmodel - The model.element - This element, as an RDF resource.profAttr - The attributes of the element's profile.Copyright © 1999-2015 Apache OODT. All Rights Reserved.