|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.deli.ProfileAttribute
This class represents a profile attribute.
Field Summary | |
protected VectorUnique |
attributeValue
|
protected com.hp.hpl.jena.rdf.model.Resource |
componentQName
|
protected VectorUnique |
defaultAttributeValue
|
protected com.hp.hpl.jena.rdf.model.Resource |
qName
|
Constructor Summary | |
ProfileAttribute()
Create a new profile attribute. |
Method Summary | |
boolean |
contains(java.lang.String value)
Does the attribute contain this literal value? |
java.util.Vector |
get()
Retrieve the value from a profile attribute. |
java.lang.String |
getAttribute()
Get the name of the attribute. |
java.lang.String |
getCollectionType()
Get the collectionType of the attribute. |
java.lang.String |
getComponent()
Get the component that the attribute belongs to. |
java.util.Vector |
getDefaultValue()
Get the profile default attribute value. |
com.hp.hpl.jena.rdf.model.Resource |
getProperty(java.lang.String propName)
Get a given property about this attributes Vocabulary entry. |
protected com.hp.hpl.jena.rdf.model.Resource |
getQName()
Get the attribute qname |
java.lang.String |
getResolution()
Get the resolution rule applied to the attribute. |
java.lang.String |
getType()
Get the type of the attribute. |
java.lang.String |
getUri()
Get the Uri for the attribute. |
java.util.Vector |
getValue()
Get the profile attribute value. |
protected abstract void |
set(ProfileAttribute a)
Combine two profile attributes using the resolution rules. |
protected void |
set(com.hp.hpl.jena.rdf.model.Resource propertyQName,
com.hp.hpl.jena.rdf.model.Resource componentQName,
VectorUnique b,
boolean isDefault)
Set the attribute to a specific value. |
java.lang.String |
toString()
Converts the object to a String. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected com.hp.hpl.jena.rdf.model.Resource qName
protected com.hp.hpl.jena.rdf.model.Resource componentQName
protected VectorUnique attributeValue
protected VectorUnique defaultAttributeValue
Constructor Detail |
public ProfileAttribute()
Method Detail |
protected com.hp.hpl.jena.rdf.model.Resource getQName()
public java.util.Vector getValue()
public java.util.Vector getDefaultValue()
public boolean contains(java.lang.String value)
public com.hp.hpl.jena.rdf.model.Resource getProperty(java.lang.String propName)
public java.lang.String getComponent()
public java.lang.String getAttribute()
public java.lang.String getResolution()
public java.lang.String getCollectionType()
public java.lang.String getType()
public java.lang.String getUri()
protected void set(com.hp.hpl.jena.rdf.model.Resource propertyQName, com.hp.hpl.jena.rdf.model.Resource componentQName, VectorUnique b, boolean isDefault)
propertyQName
- The property QNamecomponentQName
- The component Qnameb
- The value of the attribute.isDefault
- Is this a default value?protected abstract void set(ProfileAttribute a)
a
- The profile attribute.public java.util.Vector get()
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |