Tabnine Logo
Item.setRefID
Code IndexAdd Tabnine to your IDE (free)

How to use
setRefID
method
in
org.fourthline.cling.support.model.item.Item

Best Java code snippets using org.fourthline.cling.support.model.item.Item.setRefID (Showing top 7 results out of 315)

origin: 4thline/cling

public Item(Item other) {
  super(other);
  setRefID(other.getRefID());
}
origin: 4thline/cling

protected Item createItem(Attributes attributes) {
  Item item = new Item();
  item.setId(attributes.getValue("id"));
  item.setParentID(attributes.getValue("parentID"));
  try {
    Boolean value = (Boolean)Datatype.Builtin.BOOLEAN.getDatatype().valueOf(
        attributes.getValue("restricted")
    );
    if (value != null)
      item.setRestricted(value);
  } catch (Exception ex) {
    // Ignore
  }
  if ((attributes.getValue("refID") != null))
    item.setRefID(attributes.getValue("refID"));
  return item;
}
origin: kingthy/TVRemoteIME

public Item(Item other) {
  super(other);
  setRefID(other.getRefID());
}
origin: kingthy/TVRemoteIME

protected Item createItem(Attributes attributes) {
  Item item = new Item();
  item.setId(attributes.getValue("id"));
  item.setParentID(attributes.getValue("parentID"));
  try {
    Boolean value = (Boolean)Datatype.Builtin.BOOLEAN.getDatatype().valueOf(
        attributes.getValue("restricted")
    );
    if (value != null)
      item.setRestricted(value);
  } catch (Exception ex) {
    // Ignore
  }
  if ((attributes.getValue("refID") != null))
    item.setRefID(attributes.getValue("refID"));
  return item;
}
origin: org.fourthline.cling/cling-support

public Item(Item other) {
  super(other);
  setRefID(other.getRefID());
}
origin: org.fourthline.cling/cling-support

protected Item createItem(Attributes attributes) {
  Item item = new Item();
  item.setId(attributes.getValue("id"));
  item.setParentID(attributes.getValue("parentID"));
  try {
    Boolean value = (Boolean)Datatype.Builtin.BOOLEAN.getDatatype().valueOf(
        attributes.getValue("restricted")
    );
    if (value != null)
      item.setRestricted(value);
  } catch (Exception ex) {
    // Ignore
  }
  if ((attributes.getValue("refID") != null))
    item.setRefID(attributes.getValue("refID"));
  return item;
}
origin: it.tidalwave.bluemarine2/it-tidalwave-bluemarine2-upnp-mediaserver

 @Override @Nonnull
 public final DIDLObject toObject()
  throws Exception
  {
   log.debug("toObject() - {}", datum);
   final DIDLObject item = datum.getDelegate().as(DIDLAdapter).toObject();
   if (item instanceof Item)
    {
     ((Item)item).setRefID(item.getId()); // don't externalize this
    }
   item.setId(externalized(datum.getPath().toString()));
   datum.getParent().ifPresent(parent -> item.setParentID(externalized(parent.getPath().toString())));
   return item;
  }
}
org.fourthline.cling.support.model.itemItemsetRefID

Popular methods of Item

  • getId
  • getTitle
  • getCreator
  • getFirstResource
  • getRefID
  • getResources
  • getClazz
  • getParentID
  • getWriteStatus
  • <init>
  • addDescMetadata
  • addResource
  • addDescMetadata,
  • addResource,
  • getDescMetadata,
  • isRestricted,
  • setId,
  • setParentID,
  • setRestricted,
  • getFirstProperty,
  • getProperties

Popular in Java

  • Creating JSON documents from java classes using gson
  • setRequestProperty (URLConnection)
  • getExternalFilesDir (Context)
  • setContentView (Activity)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now