2 *******************************************************************
4 * Copyright 2016 Samsung Electronics All Rights Reserved.
6 *-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
20 *-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
23 package org.iotivity.base;
25 import java.util.List;
26 public class OicSecResr {
30 private List<String> types;
32 private List<String> interfaces;
33 private int interfaceLen;
35 public OicSecResr(String href, String rel, List<String> types, int typeLen,
36 List<String> interfaces, int interfaceLen) {
41 this.typeLen = typeLen;
42 this.interfaces = interfaces;
43 this.interfaceLen = interfaceLen;
46 public String getHref() {
50 public void setHref(String href) {
54 public String getRel() {
58 public void setRel(String rel) {
62 public List<String> getTypesList() {
66 public void setTypes(List<String> types) {
70 public int getTypeLen() {
74 public void setTypeLen(int typeLen) {
75 this.typeLen = typeLen;
78 public List<String> getInterfacesList() {
82 public String getInterfaces(int i) {
83 return this.interfaces.get(i);
86 public String getTypes(int i) {
87 return this.types.get(i);
90 public void setInterfaces(List<String> interfaces) {
91 this.interfaces = interfaces;
94 public int getInterfaceLen() {
98 public void setInterfaceLen(int interfaceLen) {
99 this.interfaceLen = interfaceLen;