1 package com.android.hotspot2.omadm; 2 3 public class NodeAttribute { 4 private final String mName; 5 private final String mType; 6 private final String mValue; 7 NodeAttribute(String name, String type, String value)8 public NodeAttribute(String name, String type, String value) { 9 mName = name; 10 mType = type; 11 mValue = value; 12 } 13 getName()14 public String getName() { 15 return mName; 16 } 17 getValue()18 public String getValue() { 19 return mValue; 20 } 21 getType()22 public String getType() { 23 return mType; 24 } 25 26 @Override toString()27 public String toString() { 28 return String.format("%s (%s) = '%s'", mName, mType, mValue); 29 } 30 } 31