Lines Matching refs:Profile
49 import org.mindswap.owls.profile.Profile;
59 public class ProfileImpl extends WrappedIndividual implements Profile {
68 * @see org.mindswap.owls.profile.Profile#getService()
75 * @see org.mindswap.owls.profile.Profile#getTextDescription()
78 setProperty(OWLS.Profile.textDescription, desc);
82 * @see org.mindswap.owls.profile.Profile#getTextDescription()
85 return getPropertyAsString(OWLS.Profile.textDescription);
89 * @see org.mindswap.owls.profile.Profile#getTextDescription(java.lang.String)
92 return getPropertyAsString(OWLS.Profile.textDescription, lang);
96 * @see org.mindswap.owls.profile.Profile#getTextDescription()
99 return getProperties(OWLS.Profile.textDescription);
103 addProperty(OWLS.Profile.hasInput, input);
107 addProperty(OWLS.Profile.hasOutput, output);
121 addProperty(OWLS.Profile.hasResult, result);
125 setProperty(OWLS.Profile.hasResult, result);
129 * @see org.mindswap.owls.profile.Profile#getInputs()
132 return OWLSFactory.createInputList(getProperties(OWLS.Profile.hasInput));
136 * @see org.mindswap.owls.profile.Profile#getOutputs()
139 return OWLSFactory.createOutputList(getProperties(OWLS.Profile.hasOutput));
143 return (Condition) getPropertyAs(OWLS.Profile.hasPrecondition, Condition.class);
147 return OWLSFactory.createConditionList(getProperties(OWLS.Profile.hasPrecondition));
151 setProperty(OWLS.Profile.hasPrecondition, condition);
155 addProperty(OWLS.Profile.hasPrecondition, condition);
159 * @see org.mindswap.owls.profile.Profile#getEffects()
162 return OWLSFactory.createResultList(getProperties(OWLS.Profile.hasResult));
166 return (Result) getPropertyAs(OWLS.Profile.hasResult, Result.class);
195 * @see org.mindswap.owls.profile.Profile#getCategory()
198 return (ServiceCategory) getPropertyAs(OWLS.Profile.serviceCategory, ServiceCategory.class);
207 return getPropertiesAs(OWLS.Profile.serviceCategory, ServiceCategory.class);
216 addProperty(OWLS.Profile.serviceCategory, category);
224 setProperty(OWLS.Profile.serviceCategory, category);
229 * @see org.mindswap.owls.profile.Profile#getServiceParameters()
232 return getPropertiesAs(OWLS.Profile.serviceParameter, ServiceParameter.class);
236 return getPropertiesAs(OWLS.Profile.contactInformation, Actor.class);
240 return (Actor) getPropertyAs(OWLS.Profile.contactInformation, Actor.class);
244 setProperty(OWLS.Profile.contactInformation, actor);
248 addProperty(OWLS.Profile.contactInformation, actor);
279 addProperty(OWLS.Profile.serviceParameter, serviceParam);
310 return getPropertyAsString(OWLS.Profile.serviceName);
314 * @see org.mindswap.owls.profile.Profile#getServiceName(java.lang.String)
317 return getPropertyAsString(OWLS.Profile.serviceName, lang);
321 * @see org.mindswap.owls.profile.Profile#getServiceNames()
324 return getProperties(OWLS.Profile.serviceName);
328 setProperty(OWLS.Profile.serviceName, name);
332 return getPropertyAsURI(OWLS.Profile.serviceProduct);
336 return getProperties(OWLS.Profile.serviceProduct);
340 addProperty(OWLS.Profile.serviceProduct, product);
344 setProperty(OWLS.Profile.serviceProduct, product);
348 return getPropertyAsURI(OWLS.Profile.serviceClassification);
352 return getProperties(OWLS.Profile.serviceClassification);
356 addProperty(OWLS.Profile.serviceClassification, classification);
360 setProperty(OWLS.Profile.serviceClassification, classification);
369 if (hasProperty(OWLS.Profile.hasInput, input))
370 removeProperty(OWLS.Profile.hasInput, input);
380 if (hasProperty(OWLS.Profile.hasOutput, output))
381 removeProperty(OWLS.Profile.hasOutput, output);
391 if (hasProperty(OWLS.Profile.hasResult, result))
392 removeProperty(OWLS.Profile.hasResult, result);