public int countOthers(HasOther ann) { int count=0; for (Other obj: ann.getOther()) { if (!(obj.getElementName().getNamespaceURI().startsWith(NamespacePrefixMapper.SHARED_PROV_TOOLBOX_PREFIX))) { count++; } } return count; }
public int countOthers(HasOther ann) { int count=0; for (Other obj: ann.getOther()) { if (!(obj.getElementName().getNamespaceURI().startsWith(NamespacePrefixMapper.SHARED_PROV_TOOLBOX_PREFIX))) { count++; } } return count; }
public Hashtable<String,List<Other>> attributesWithNamespace(String namespace) { Hashtable<String,List<Other>> result=namespaceIndex.get(namespace); if (result==null) { result=new Hashtable<String,List<Other>>(); namespaceIndex.put(namespace,result); } for (Other attribute: attributes) { QualifiedName name=attribute.getElementName(); if (namespace.equals(name.getNamespaceURI())) { List<Other> ll=result.get(name.getLocalPart()); if (ll==null) { List<Other> tmp=new LinkedList<Other>(); tmp.add(attribute); result.put(name.getLocalPart(),tmp); } else { ll.add(attribute); } } } return result; } }
public Hashtable<String,List<Other>> attributesWithNamespace(String namespace) { Hashtable<String,List<Other>> result=namespaceIndex.get(namespace); if (result==null) { result=new Hashtable<String,List<Other>>(); namespaceIndex.put(namespace,result); } for (Other attribute: attributes) { QualifiedName name=attribute.getElementName(); if (namespace.equals(name.getNamespaceURI())) { List<Other> ll=result.get(name.getLocalPart()); if (ll==null) { List<Other> tmp=new LinkedList<Other>(); tmp.add(attribute); result.put(name.getLocalPart(),tmp); } else { ll.add(attribute); } } } return result; } }
Hashtable<Integer, Hashtable<Integer,TypedValue>> map2=new Hashtable<Integer, Hashtable<Integer,TypedValue>>(); for (Other attr: entity.getOther()) { String uri = attr.getElementName().getUri(); if (uri.startsWith(APP_VALUE)) { Integer i=Integer.valueOf(uri.substring(APP_VALUE.length()));
Hashtable<Integer, Hashtable<Integer,TypedValue>> map2=new Hashtable<Integer, Hashtable<Integer,TypedValue>>(); for (Other attr: entity.getOther()) { String uri = attr.getElementName().getUri(); if (uri.startsWith(APP_VALUE)) { Integer i=Integer.valueOf(uri.substring(APP_VALUE.length()));
public String displaySize(HasOther p) { for (Other o: p.getOther()) { if (SUM_SIZE.equals(o.getElementName())) { return " (" + o.getConvertedValue() + ")"; } } return ""; }
public String displaySize(HasOther p) { for (Other o: p.getOther()) { if (SUM_SIZE.equals(o.getElementName())) { return " (" + o.getConvertedValue() + ")"; } } return ""; }
HasOther stmt2=(HasOther)statement; for (Other other: stmt2.getOther()) { if (LINKED_URI.equals(other.getElementName().getUri())) { QualifiedName id=((Identifiable)statement).getId(); QualifiedName otherId=(QualifiedName) other.getValue();
String uri = attr.getElementName().getUri(); if (uri.startsWith(APP_VALUE_v2)) { String index=uri.substring(APP_VALUE_v2.length()); if (tv instanceof Other) { Other o=(Other)tv; String uri = o.getElementName().getUri(); if (uri.startsWith(APP_VALUE_v2)) { Integer i=Integer.valueOf(uri.substring(APP_VALUE_v2.length()));
String uri = attr.getElementName().getUri(); if (uri.startsWith(APP_VALUE_v2)) { String index=uri.substring(APP_VALUE_v2.length()); if (tv instanceof Other) { Other o=(Other)tv; String uri = o.getElementName().getUri(); if (uri.startsWith(APP_VALUE_v2)) { Integer i=Integer.valueOf(uri.substring(APP_VALUE_v2.length()));
HasOther stmt2=(HasOther)statement; for (Other other: stmt2.getOther()) { if (LINKED_URI.equals(other.getElementName().getUri())) { QualifiedName id=((Identifiable)statement).getId(); QualifiedName otherId=(QualifiedName) other.getValue();
public void register(Other other) { register(other.getType()); register(other.getElementName()); Object val = other.getValue(); registerPotentialQualifiedName(val); }
public void register(Other other) { register(other.getType()); register(other.getElementName()); Object val = other.getValue(); registerPotentialQualifiedName(val); }
public void doAction(Other other) { other.setElementName(uniquify(other.getElementName())); other.setType(uniquify(other.getType())); doActionAttributeValue(other); }
if (prop.getElementName().getNamespaceURI().startsWith(NamespacePrefixMapper.SHARED_PROV_TOOLBOX_PREFIX)) {
if (prop.getElementName().getNamespaceURI().startsWith(NamespacePrefixMapper.SHARED_PROV_TOOLBOX_PREFIX)) {